bumblebee/.github/workflows/build.yaml

28 lines
577 B
YAML

# build.yaml
# ---
# Builds the rust code and verifies that it compiles
name: build
on:
push:
paths:
- '**.rs'
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: |
apt update -y
apt install -y curl gcc g++ make
- uses: https://github.com/actions-rs/toolchain@v1
with:
toolchain: stable
override: true
- uses: https://github.com/actions-rs/cargo@v1
with:
command: build
args: --verbose --all