Skip to content

Commit

Permalink
ci: set x86_64_v3_ARCH variable earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
EndlesslyFlowering authored Jan 25, 2025
1 parent 8c73623 commit f585823
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/mpv_clang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
elif [[ $BIT == "x86_64_v3" ]]; then
echo "arch=x86_64" >> $GITHUB_ENV
echo "x86_64_level=-v3" >> $GITHUB_ENV
echo "x86_64_v3_ARCH=-DGCC_ARCH=x86-64-v3" >> $GITHUB_ENV
elif [[ $BIT == "aarch64" ]]; then
echo "arch=aarch64" >> $GITHUB_ENV
fi
Expand Down Expand Up @@ -101,7 +102,6 @@ jobs:

- name: Configuring CMake & Downloading source
run: |
if [[ $BIT == x86_64_v3 ]]; then echo "x86_64_v3_ARCH=-DGCC_ARCH=x86-64-v3" >> $GITHUB_ENV; fi
cmake -DTARGET_ARCH=${{ env.arch }}-w64-mingw32 -DCOMPILER_TOOLCHAIN=clang ${{ env.x86_64_v3_ARCH }} -DCMAKE_INSTALL_PREFIX=$PWD/clang_root -DMINGW_INSTALL_PREFIX=$PWD/build_$BIT/$BIT-w64-mingw32 -DSINGLE_SOURCE_LOCATION=$PWD/src_packages -DRUSTUP_LOCATION=$PWD/clang_root/install_rustup -DENABLE_CCACHE=ON -DCLANG_PACKAGES_LTO=ON -G Ninja --fresh -B build_$BIT -S $PWD
ninja -C build_$BIT download || true
Expand Down

0 comments on commit f585823

Please sign in to comment.