Skip to content

Commit 61bc305

Browse files
committed
build linux-arm64
1 parent 8c91c17 commit 61bc305

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/build.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,19 @@ jobs:
2222
matrix:
2323
include:
2424
- { os: ubuntu-18.04, target: linux, platform: linux-x64 }
25+
- { os: ubuntu-18.04, target: linux, platform: linux-arm64 }
2526
- { os: macos-11, target: darwin, platform: darwin-x64 }
2627
- { os: macos-11, target: darwin, platform: darwin-arm64 }
2728
- { os: windows-latest, target: windows, platform: win32-ia32 }
2829
- { os: windows-latest, target: windows, platform: win32-x64 }
2930
runs-on: ${{ matrix.os }}
3031
steps:
32+
- name: Install aarch64-linux-gnu
33+
if: ${{ matrix.platform == 'linux-arm64' }}
34+
run: |
35+
sudo apt-get update
36+
sudo apt-get install -y gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
37+
3138
- uses: actions/checkout@v2
3239
with:
3340
submodules: recursive

0 commit comments

Comments
 (0)