bumblebee/.github/workflows/build.yaml

28 lines
577 B
YAML
Raw Normal View History

2023-06-03 21:08:44 +02:00
# build.yaml
# ---
# Builds the rust code and verifies that it compiles
name: build
2023-07-16 20:09:50 +02:00
on:
push:
paths:
- '**.rs'
2023-06-03 21:08:44 +02:00
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: install dependencies
run: |
apt update -y
2023-06-15 12:23:41 +02:00
apt install -y curl gcc g++ make
2023-07-16 18:49:06 +02:00
- uses: https://github.com/actions-rs/toolchain@v1
2023-06-03 21:08:44 +02:00
with:
toolchain: stable
override: true
2023-07-16 18:49:06 +02:00
- uses: https://github.com/actions-rs/cargo@v1
2023-06-15 12:23:41 +02:00
with:
command: build
args: --verbose --all