From 548caa2f47a4b72bb84ea788026d7249dd26390d Mon Sep 17 00:00:00 2001 From: Raine Date: Sat, 14 Oct 2023 22:39:41 +0200 Subject: [PATCH] ci: add ci config --- .github/workflows/bootpkg.yaml | 24 ++++++++++++++++++++++++ .github/workflows/pkgr.yaml | 24 ++++++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 .github/workflows/bootpkg.yaml create mode 100644 .github/workflows/pkgr.yaml 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