Skip to content

Commit

Permalink
ci: build aarch64 target
Browse files Browse the repository at this point in the history
  • Loading branch information
shinchiro committed Sep 17, 2024
1 parent 3ccb864 commit 5727367
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/llvm_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ jobs:

- name: Loading aarch64 toolchain
id: aarch64_cache
if: false
uses: actions/cache/restore@main
with:
path: build_aarch64
Expand Down Expand Up @@ -115,7 +114,7 @@ jobs:
ninja -C build_i686 llvm-clang
- name: Building aarch64 toolchain
if: false
if: ${{ steps.aarch64_cache.outputs.cache-matched-key == '' }}
run: |
cmake -DTARGET_ARCH=aarch64-w64-mingw32 -DLLVM_ENABLE_PGO=GEN -DCOMPILER_TOOLCHAIN=clang -DCMAKE_INSTALL_PREFIX=$PWD/clang_root -DMINGW_INSTALL_PREFIX=$PWD/build_aarch64/aarch64-w64-mingw32 -DSINGLE_SOURCE_LOCATION=$PWD/src_packages -DRUSTUP_LOCATION=$PWD/clang_root/install_rustup -G Ninja -B build_aarch64 -S $PWD
ninja -C build_aarch64 llvm-clang
Expand Down Expand Up @@ -191,7 +190,6 @@ jobs:
key: ${{ secrets.CACHE_VERSION }}-clang-i686_toolchain-${{ github.run_id }}

- name: Saving aarch64 toolchain
if: false
uses: actions/cache/save@main
with:
path: build_aarch64
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/mpv_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
strategy:
fail-fast: false
matrix:
bit: [i686, x86_64, x86_64_v3]
bit: [i686, x86_64, x86_64_v3, aarch64]
env:
BIT: ${{ matrix.bit }}
container:
Expand All @@ -51,6 +51,8 @@ jobs:
elif [[ $BIT == "x86_64_v3" ]]; then
echo "arch=x86_64" >> $GITHUB_ENV
echo "x86_64_level=-v3" >> $GITHUB_ENV
elif [[ $BIT == "aarch64" ]]; then
echo "arch=aarch64" >> $GITHUB_ENV
fi
- name: Setup git config
Expand Down

0 comments on commit 5727367

Please sign in to comment.