ci: add ci config

This commit is contained in:
Strix 2023-10-14 22:39:41 +02:00
parent d3469e7618
commit 548caa2f47
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
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