From 11bcaccffc674be43774b6de8fc43cec4e9d2a54 Mon Sep 17 00:00:00 2001 From: Didier Date: Sun, 16 Jul 2023 19:06:14 +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