Skip to content

Commit

Permalink
Build ARM64 with actions (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
louist103 authored Nov 12, 2024
1 parent d6dd7fd commit 9c242ad
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ jobs:
{
name: windows,
runner: windows-latest
},
{
name: linux-arm,
runner: ubuntu-20.04
}
]
ido: [5.3, 7.1]
Expand Down Expand Up @@ -50,6 +54,25 @@ jobs:
run: |
make -j $(nproc) RELEASE=1 VERSION=${{ matrix.ido }}
- name: Install dependencies (Linux ARM64)
shell: bash
if: matrix.os.name == 'linux-arm'
run: |
sudo apt update
sudo apt install gcc-aarch64-linux-gnu
- name: Build recomp binary (Linux ARM64)
shell: bash
if: matrix.os.name == 'linux-arm'
run: |
make -j $(nproc) RELEASE=1 setup
- name: Run the build script (Linux)
shell: bash
if: matrix.os.name == 'linux-arm'
run: |
make -j $(nproc) RELEASE=1 VERSION=${{ matrix.ido }} CC=aarch64-linux-gnu-gcc CXX=aarch64-linux-gnu-g++ STRIP=aarch64-linux-gnu-strip
# MacOS
- name: Install dependencies (MacOS)
shell: bash
Expand Down

0 comments on commit 9c242ad

Please sign in to comment.