Skip to content
This repository has been archived by the owner on Apr 16, 2024. It is now read-only.

Commit

Permalink
Try to build libs for linux arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
Franc Pape committed Apr 10, 2024
1 parent acb590e commit 2c4361c
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,11 @@ name: build
on: [push, pull_request]

jobs:
get-toolchains:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- run: ./get_toolchains.sh
generate-antlr-sources:
runs-on: ubuntu-22.04
steps:
Expand Down Expand Up @@ -86,6 +91,12 @@ jobs:
runs-on: ubuntu-22.04
needs:
- test-linux
- get-toolchains
env:
CGO_ENABLED: 1
GOOS: linux
GOARCH: arm64
CC: ${{ github.workspace }}/gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu/bin/aarch64-linux-gnu-gcc
steps:
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
Expand Down
4 changes: 4 additions & 0 deletions get_toolchains.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
wget https://releases.linaro.org/archive/15.06/components/toolchain/binaries/4.8/aarch64-linux-gnu/gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu.tar.xz
tar -xf gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu.tar.xz
rm -f gcc-linaro-4.8-2015.06-x86_64_aarch64-linux-gnu.tar.xz

0 comments on commit 2c4361c

Please sign in to comment.