Skip to content
This repository was archived by the owner on Aug 4, 2024. It is now read-only.

Commit 70dfa34

Browse files
author
Ookiineko
committed
fixup: CI: disable -Oz for Web build again
- it might be causing some issues, let's try to not recompile Rust STD this time Signed-off-by: Ookiineko <[email protected]>
1 parent 6f1b23d commit 70dfa34

File tree

1 file changed

+1
-12
lines changed

1 file changed

+1
-12
lines changed

.github/workflows/ci.yaml

+1-12
Original file line numberDiff line numberDiff line change
@@ -843,17 +843,6 @@ jobs:
843843
. "$HOME/.cargo/env"
844844
rustup target add ${{ env.rust_target }}
845845
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-
857846
- name: Synchronize (source)
858847
uses: yogeshlonkar/[email protected]
859848
with:
@@ -875,7 +864,7 @@ jobs:
875864
. "$HOME/.cargo/env"
876865
emcmake cmake -G Ninja -B build -DCMAKE_EXE_LINKER_FLAGS=" ${{ needs.vars.outputs.lto_ldflags }} ${{ matrix.ldflags }}" \
877866
-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 \
879868
-DCMAKE_TOOLCHAIN_FILE=$VCPKG_INSTALLATION_ROOT/scripts/buildsystems/vcpkg.cmake \
880869
-DVCPKG_TARGET_TRIPLET=${{ env.vcpkg_triplet }} \
881870
-DVCPKG_CHAINLOAD_TOOLCHAIN_FILE="$(dirname $(which emcc))/cmake/Modules/Platform/Emscripten.cmake"

0 commit comments

Comments
 (0)