24 lines
528 B
YAML
24 lines
528 B
YAML
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
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
|
|
- run: |
|
|
cd bootpkg
|
|
- uses: https://github.com/actions-rs/cargo@v1
|
|
with:
|
|
command: build
|
|
args: --verbose --all
|