ci: add ci config
This commit is contained in:
parent
d3469e7618
commit
548caa2f47
2 changed files with 48 additions and 0 deletions
24
.github/workflows/bootpkg.yaml
vendored
Normal file
24
.github/workflows/bootpkg.yaml
vendored
Normal 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
24
.github/workflows/pkgr.yaml
vendored
Normal 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
|
Loading…
Reference in a new issue