diff options
author | Joshua M. Boniface <joshua@boniface.me> | 2024-02-11 21:38:24 -0500 |
---|---|---|
committer | Joshua M. Boniface <joshua@boniface.me> | 2024-02-11 21:43:33 -0500 |
commit | 18c84403599de369a1e88e9874aa97f3c3e3b35b (patch) | |
tree | 6f0195e52573dab1cb386bbec96bfcd42507004e /.github/workflows | |
parent | Clean up build commands (diff) | |
download | jellyfin-packaging-18c84403599de369a1e88e9874aa97f3c3e3b35b.tar.gz jellyfin-packaging-18c84403599de369a1e88e9874aa97f3c3e3b35b.tar.bz2 jellyfin-packaging-18c84403599de369a1e88e9874aa97f3c3e3b35b.zip |
Add initial release build test workflow
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release-build.yaml | 45 |
1 files changed, 45 insertions, 0 deletions
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 }} |