From 18c84403599de369a1e88e9874aa97f3c3e3b35b Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Sun, 11 Feb 2024 21:38:24 -0500 Subject: Add initial release build test workflow --- .github/workflows/release-build.yaml | 45 ++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 .github/workflows/release-build.yaml (limited to '.github/workflows') diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml new file mode 100644 index 0000000..8d8bc68 --- /dev/null +++ b/.github/workflows/release-build.yaml @@ -0,0 +1,45 @@ +name: "Release Build" + +on: + workflow_dispatch: + inputs: + version: + required: true + type: string + description: 'The server and web release tag ("vX.Y.Z") or "master"' + +permissions: + contents: read + +jobs: + checkoutRepository: + runs-on: ubuntu-22.04 + steps: + - name: "Install dependencies" + run: |- + apt-get install --yes python3-git + + - name: "Checkout Repository" + uses: actions/checkout@v3 + + - name: "Prepare Repository" + run: |- + ./checkout.py ${{ github.event.client_payload.version }} + + buildDebianPackages: + runs-on: ubuntu-22.04 + needs: + - checkoutRepository + strategy: + matrix: + version: + - 11 + - 12 + arch: + - amd64 + - arm64 + - armhf + steps: + - name: "Run builder for Debian ${{ matrix.version }} ${{ matrix.arch }}" + run: |- + ./build.py ${{ github.event.client_payload.version }} debian ${{ matrix.arch }} ${{ matrix.version }} -- cgit