Skip to content

Commit be42761

Browse files
committed
Build on Linux ARM64 as well
1 parent a8189f8 commit be42761

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

‎.github/workflows/build.yml‎

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ permissions:
99
contents: read
1010

1111
jobs:
12-
bazel_linux:
13-
name: Bazel, Linux, Swift 6.1 # pre-installed
12+
bazel_linux_amd64:
13+
name: Bazel, Linux AMD64, Swift 6.1 # pre-installed
1414
runs-on: ubuntu-24.04
1515
steps:
1616
- uses: actions/checkout@v4
@@ -19,6 +19,20 @@ jobs:
1919
env:
2020
CI_BAZELRC_FILE_CONTENT: ${{ secrets.CI_BAZELRC_FILE_CONTENT }}
2121

22+
bazel_linux_arm64:
23+
name: Bazel, Linux ARM64, Swift 6.1 # pre-installed
24+
runs-on: ubuntu-24.04-arm
25+
steps:
26+
- uses: actions/checkout@v4
27+
- uses: ./.github/actions/bazel-linux-build
28+
name: Build SwiftLint with Bazel
29+
env:
30+
CI_BAZELRC_FILE_CONTENT: ${{ secrets.CI_BAZELRC_FILE_CONTENT }}
31+
- name: Upload Bazel build artifacts
32+
uses: actions/upload-artifact@v4
33+
with:
34+
path: bazel-bin/swiftlint
35+
2236
plugins_linux:
2337
name: SPM plugins, Linux, Swift ${{ matrix.version }}
2438
runs-on: ubuntu-24.04

0 commit comments

Comments
 (0)