Skip to content

Commit

Permalink
ci: Use hosted ARM64 runner
Browse files Browse the repository at this point in the history
  • Loading branch information
lhmouse committed Jan 18, 2025
1 parent 02b171c commit b5aec8f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,30 +45,29 @@ jobs:
linaro-ubuntu-arm64:
name: Ubuntu cross build (ARM64 Clang)
runs-on: ubuntu-latest
container: linaro/wine-arm64
runs-on: ubuntu-24.04-arm

steps:
- uses: actions/checkout@v4

- name: Install dependencies
run: >-
apt-get update &&
apt-get install -y --no-install-recommends
ninja-build python3-pip
sudo apt-get update &&
sudo apt-get install -y --no-install-recommends
ninja-build python3-pip wine wine-binfmt
- name: Install newest meson
run: >-
PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install meson
sudo PIP_BREAK_SYSTEM_PACKAGES=1 pip3 install meson
- name: Download llvm-mingw
run: >-
wget 'https://github.com/mstorsjo/llvm-mingw/releases/download/20240917/llvm-mingw-20240917-ucrt-ubuntu-20.04-x86_64.tar.xz'
&& tar -xaf llvm-mingw-20240917-ucrt-ubuntu-20.04-x86_64.tar.xz
wget 'https://github.com/mstorsjo/llvm-mingw/releases/download/20250114/llvm-mingw-20250114-ucrt-ubuntu-20.04-aarch64.tar.xz'
&& tar -xaf llvm-mingw-20250114-ucrt-ubuntu-20.04-aarch64.tar.xz
- name: Run tests
run: >-
export PATH=$(pwd)/llvm-mingw-20240917-ucrt-ubuntu-20.04-x86_64/bin:$PATH;
export PATH=$(pwd)/llvm-mingw-20250114-ucrt-ubuntu-20.04-aarch64/bin:$PATH;
meson setup --cross-file meson.cross.aarch64-w64-mingw32
-Denable-debug-checks=true -Doptimization=1 build_ci
&& meson compile -Cbuild_ci
Expand Down
2 changes: 1 addition & 1 deletion meson.cross.aarch64-w64-mingw32
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ar = 'aarch64-w64-mingw32-ar'
strip = 'aarch64-w64-mingw32-strip'
windres = 'aarch64-w64-mingw32-windres'
pkg-config = 'aarch64-w64-mingw32-pkg-config'
exe_wrapper = 'wine-arm64'
exe_wrapper = 'wine'

[host_machine]
system = 'windows'
Expand Down

0 comments on commit b5aec8f

Please sign in to comment.