Skip to content

Commit

Permalink
chore: add arm64 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Nov 28, 2023
1 parent 6172d7b commit 44614c0
Showing 1 changed file with 18 additions and 5 deletions.
23 changes: 18 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,21 @@ jobs:
build-package:
strategy:
matrix:
os:
- ubuntu-20.04
- ubuntu-22.04
runs-on: ${{ matrix.os }}
runner:
- architecture: amd64
platform: ubuntu-20.04
ubuntu-version: 20.04
- architecture: amd64
platform: ubuntu-22.04
ubuntu-version: 22.04
- architechure: arm64
platform: buildjet-2vcpu-ubuntu-2004-arm
ubuntu-version: 20.04
- architechure: arm64
platform: buildjet-2vcpu-ubuntu-2204-arm
ubuntu-version: 22.04

runs-on: ${{ matrix.runner.platform }}
steps:
- uses: actions/checkout@v3
- name: Update apt-get cache
Expand All @@ -32,12 +43,14 @@ jobs:
echo "asset-path=$(find .. -name 'valgrind_*.deb')" >> "$GITHUB_OUTPUT"
env:
DEBEMAIL: ${{ vars.MAINTAINER_EMAIL }}

- name: Upload release artifact
if: github.event_name == 'release'
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ github.event.release.upload_url }}
asset_content_type: application/vnd.debian.binary-package
asset_path: ${{ steps.build_deb.outputs.asset-path }}
asset_name: valgrind_${{ github.event.release.name }}_${{ matrix.os }}_amd64.deb
asset_name: valgrind_${{ github.event.release.name }}_ubuntu-${{ matrix.runner.ubuntu-version }}_${{ matrix.runner.architechure }}.deb

0 comments on commit 44614c0

Please sign in to comment.