From cfb365e1801cacffb40ea26dcf61b91fa068640d Mon Sep 17 00:00:00 2001 From: ZHANG Yuntian Date: Wed, 30 Nov 2022 18:14:55 +0800 Subject: [PATCH] Add CI for release-deb.sh --- .github/workflows/test-deb.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/test-deb.yml diff --git a/.github/workflows/test-deb.yml b/.github/workflows/test-deb.yml new file mode 100644 index 00000000..b7e66a4c --- /dev/null +++ b/.github/workflows/test-deb.yml @@ -0,0 +1,27 @@ +name: Test release-deb.sh +on: + push: + workflow_dispatch: + +permissions: + contents: read + +jobs: + + build: + name: Build + runs-on: ubuntu-22.04 + strategy: + matrix: + platform: [ x86_64, aarch64] + + steps: + - uses: actions/checkout@v3 + with: + fetch-depth: 0 + + - name: Build + run: | + sudo apt-get update + sudo apt-get install --no-install-recommends -y qemu-user-static binfmt-support + scripts/release-deb.sh 999 --platform ${{ matrix.platform }}