Skip to content

Commit 5727367

Browse files
committed
ci: build aarch64 target
1 parent 3ccb864 commit 5727367

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/llvm_clang.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ jobs:
6767

6868
- name: Loading aarch64 toolchain
6969
id: aarch64_cache
70-
if: false
7170
uses: actions/cache/restore@main
7271
with:
7372
path: build_aarch64
@@ -115,7 +114,7 @@ jobs:
115114
ninja -C build_i686 llvm-clang
116115
117116
- name: Building aarch64 toolchain
118-
if: false
117+
if: ${{ steps.aarch64_cache.outputs.cache-matched-key == '' }}
119118
run: |
120119
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
121120
ninja -C build_aarch64 llvm-clang
@@ -191,7 +190,6 @@ jobs:
191190
key: ${{ secrets.CACHE_VERSION }}-clang-i686_toolchain-${{ github.run_id }}
192191

193192
- name: Saving aarch64 toolchain
194-
if: false
195193
uses: actions/cache/save@main
196194
with:
197195
path: build_aarch64

.github/workflows/mpv_clang.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
strategy:
3535
fail-fast: false
3636
matrix:
37-
bit: [i686, x86_64, x86_64_v3]
37+
bit: [i686, x86_64, x86_64_v3, aarch64]
3838
env:
3939
BIT: ${{ matrix.bit }}
4040
container:
@@ -51,6 +51,8 @@ jobs:
5151
elif [[ $BIT == "x86_64_v3" ]]; then
5252
echo "arch=x86_64" >> $GITHUB_ENV
5353
echo "x86_64_level=-v3" >> $GITHUB_ENV
54+
elif [[ $BIT == "aarch64" ]]; then
55+
echo "arch=aarch64" >> $GITHUB_ENV
5456
fi
5557
5658
- name: Setup git config

0 commit comments

Comments
 (0)