28 lines
497 B
YAML
28 lines
497 B
YAML
name: Initializing rust environment.
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-20.04]
|
|
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v2
|
|
|
|
- name: Update system
|
|
run: |
|
|
apt-get update -qy
|
|
|
|
- name: Install dependencies
|
|
run: |
|
|
apt-get install -y curl
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
|
|
|
|
- name: Running testbench
|
|
run: |
|
|
cargo test
|