Skip to content

Commit f452369

Browse files
authored
Add Linux ARM64 build target (#41)
1 parent ecd4f73 commit f452369

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
push:
55
tags:
66
- "v*"
7+
pull_request:
78
workflow_dispatch:
89

910
jobs:
@@ -17,6 +18,10 @@ jobs:
1718
arch: x64
1819
platform: linux-x64
1920
target: bun-linux-x64
21+
- os: ubuntu-24.04-arm
22+
arch: arm64
23+
platform: linux-arm64
24+
target: bun-linux-arm64
2025
- os: macos-latest
2126
arch: x64
2227
platform: darwin-x64
@@ -58,7 +63,7 @@ jobs:
5863
src/index.ts --outfile=./bin/linear-release
5964
6065
- name: Import code signing certificate
61-
if: matrix.os == 'macos-latest'
66+
if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')
6267
env:
6368
CSC_LINK: ${{ secrets.CSC_LINK }}
6469
CSC_KEY_PASSWORD: ${{ secrets.CSC_KEY_PASSWORD }}
@@ -72,14 +77,14 @@ jobs:
7277
rm certificate.p12
7378
7479
- name: Code sign macOS executable
75-
if: matrix.os == 'macos-latest'
80+
if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')
7681
run: |
7782
codesign --entitlements entitlements.mac.plist --force --options runtime \
7883
--sign "Developer ID Application: Linear Orbit, Inc. (${{ secrets.APPLE_TEAM_ID }})" ./bin/linear-release
7984
codesign --verify --verbose ./bin/linear-release
8085
8186
- name: Notarize macOS executable
82-
if: matrix.os == 'macos-latest'
87+
if: matrix.os == 'macos-latest' && startsWith(github.ref, 'refs/tags/')
8388
env:
8489
APPLE_ID: ${{ secrets.APPLE_ID }}
8590
APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }}

0 commit comments

Comments
 (0)