diff --git a/action.yml b/action.yml index d69ee93..15af201 100644 --- a/action.yml +++ b/action.yml @@ -226,9 +226,9 @@ runs: elif [ ${{ steps.platform.outputs.target_id }} = "android64" ]; then CMAKE_EXTRA_ARGS="-DCMAKE_TOOLCHAIN_FILE=$ANDROID_NDK_LATEST_HOME/build/cmake/android.toolchain.cmake -DANDROID_ABI=arm64-v8a -DANDROID_PLATFORM=android-${{ inputs.android-min-sdk }}" elif [ ${{ steps.platform.outputs.target_id }} = "win" ]; then - export CFLAGS="--target=target=i686-windows-msvc" - export CXXFLAGS="--target=target=i686-windows-msvc" - # export LDFLAGS="--target=target=i686-windows-msvc" + export CFLAGS="--target=i686-windows-msvc" + export CXXFLAGS="--target=i686-windows-msvc" + # export LDFLAGS="--target=i686-windows-msvc" fi cmake -B build -DCMAKE_BUILD_TYPE=${{ inputs.build-config }} -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DGEODE_CODEGEN_CMAKE_ARGS="-DCMAKE_C_COMPILER=clang;-DCMAKE_CXX_COMPILER=clang++;-G Ninja" -G Ninja $CMAKE_EXTRA_ARGS -DGEODE_DONT_INSTALL_MODS=ON -DGEODE_TARGET_PLATFORM=${{ steps.platform.outputs.target }} ${{ inputs.configure-args }} cmake --build build --config ${{ inputs.build-config }} ${{ inputs.build-args }}