Add CI for release-deb.sh

This commit is contained in:
ZHANG Yuntian 2022-11-30 18:14:55 +08:00
parent 11f2ade9f3
commit cfb365e180

27
.github/workflows/test-deb.yml vendored Normal file
View File

@ -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 }}