ci: add ci config
Some checks failed
/ build (push) Failing after 22s

This commit is contained in:
Didier Slof 2023-07-16 19:06:14 +02:00
parent 650499736c
commit 11bcaccffc
Signed by: didier
GPG key ID: 01E71F18AA4398E5
2 changed files with 48 additions and 0 deletions

24
.github/workflows/bootpkg.yaml vendored Normal file
View file

@ -0,0 +1,24 @@
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

24
.github/workflows/pkgr.yaml vendored Normal file
View file

@ -0,0 +1,24 @@
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 pkgr
- uses: https://github.com/actions-rs/cargo@v1
with:
command: build
args: --verbose --all