From 7912a62a597574f70dba6c7598301fa4aeb37861 Mon Sep 17 00:00:00 2001 From: Aveen Ismail Date: Wed, 24 Apr 2024 16:12:15 +0200 Subject: [PATCH] Use gcc x86 --- .github/workflows/build_win32.yml | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/.github/workflows/build_win32.yml b/.github/workflows/build_win32.yml index 274c3d3..4ab4038 100644 --- a/.github/workflows/build_win32.yml +++ b/.github/workflows/build_win32.yml @@ -23,20 +23,20 @@ jobs: $procMain = Start-Process "msiexec" "/i `"go1.msi`" /qn /l*! `"$log`"" -NoNewWindow -PassThru $procMain.WaitForExit() - ls 'C:\Program Files (x86)\Go\bin' - - $env:Path += ";C:\Program Files (x86)\Go\bin" - - &'C:\Program Files (x86)\Go\bin\go.exe' version - &'C:\Program Files (x86)\Go\bin\go.exe' mod tidy -go="1.16" - &'C:\Program Files (x86)\Go\bin\go.exe' mod tidy -go="1.17" - &'C:\Program Files (x86)\Go\bin\go.exe' generate ./... - &'C:\Program Files (x86)\Go\bin\go.exe' build -o bin/yubihsm-connector.exe - cp bin/yubihsm-connector.exe artifact\ - - ./bin/yubihsm-connector.exe version - ./bin/yubihsm-connector.exe --help + ls 'C:\' +# $env:Path += ";C:\Program Files (x86)\Go\bin" +# +# &'C:\Program Files (x86)\Go\bin\go.exe' version +# &'C:\Program Files (x86)\Go\bin\go.exe' mod tidy -go="1.16" +# &'C:\Program Files (x86)\Go\bin\go.exe' mod tidy -go="1.17" +# &'C:\Program Files (x86)\Go\bin\go.exe' generate ./... +# &'C:\Program Files (x86)\Go\bin\go.exe' build -o bin/yubihsm-connector.exe +# cp bin/yubihsm-connector.exe artifact\ +# +# ./bin/yubihsm-connector.exe version +# ./bin/yubihsm-connector.exe --help +# # cd resources/win-installer # & cmd /c '"C:\Program Files\Microsoft Visual Studio\2022\Enterprise\Common7\Tools\VsMSBuildCmd.bat" && msbuild YubiHSMConnectorInstaller.sln /p:Configuration=Release' # cp x64/Release/yubihsm-connector-windows-amd64.msi ../../artifact/