diff --git a/.github/workflows/bootpkg.yaml b/.github/workflows/bootpkg.yaml new file mode 100644 index 0000000..876a53c --- /dev/null +++ b/.github/workflows/bootpkg.yaml @@ -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 diff --git a/.github/workflows/pkgr.yaml b/.github/workflows/pkgr.yaml new file mode 100644 index 0000000..ff8e6a4 --- /dev/null +++ b/.github/workflows/pkgr.yaml @@ -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