This repository was archived by the owner on Aug 4, 2024. It is now read-only.
File tree 1 file changed +1
-12
lines changed
1 file changed +1
-12
lines changed Original file line number Diff line number Diff line change @@ -843,17 +843,6 @@ jobs:
843
843
. "$HOME/.cargo/env"
844
844
rustup target add ${{ env.rust_target }}
845
845
846
- - name : Determine Build type
847
- id : detect_build_type
848
- run : |
849
- cmake_build_type=${{ needs.vars.outputs.cmake_build_type }}
850
- if [ "${{ matrix.opt_size }}" == "YES" ]; then
851
- if [ "${{ needs.vars.outputs.cmake_build_type }}" == "Release" ]; then
852
- cmake_build_type=MinSizeRel
853
- fi
854
- fi
855
- echo "cmake_build_type=${cmake_build_type}" | tee -a $GITHUB_OUTPUT
856
-
857
846
- name : Synchronize (source)
858
847
uses :
yogeshlonkar/[email protected]
859
848
with :
@@ -875,7 +864,7 @@ jobs:
875
864
. "$HOME/.cargo/env"
876
865
emcmake cmake -G Ninja -B build -DCMAKE_EXE_LINKER_FLAGS=" ${{ needs.vars.outputs.lto_ldflags }} ${{ matrix.ldflags }}" \
877
866
-DRust_CARGO_TARGET=${{ env.rust_target }} -DFULL_RUST_LTO=${{ needs.vars.outputs.full_lto }} \
878
- -DCMAKE_BUILD_TYPE=${{ steps.detect_build_type .outputs.cmake_build_type }} -DPREFER_STATIC_LINKING=ON \
867
+ -DCMAKE_BUILD_TYPE=${{ needs.vars .outputs.cmake_build_type }} -DPREFER_STATIC_LINKING=ON \
879
868
-DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake \
880
869
-DVCPKG_TARGET_TRIPLET=${{ env.vcpkg_triplet }} \
881
870
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE="$(dirname $(which emcc))/cmake/Modules/Platform/Emscripten.cmake"
You can’t perform that action at this time.
0 commit comments