Skip to content

Commit

Permalink
try windows build on win server 2019
Browse files Browse the repository at this point in the history
  • Loading branch information
neodiX committed Jun 10, 2024
1 parent b7801c8 commit 494bd21
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ton-x86-64-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ defaults:
jobs:
build:

runs-on: windows-2022
runs-on: windows-2019

steps:
- name: Get Current OS version
Expand Down
4 changes: 2 additions & 2 deletions assembly/native/build-windows-github.bat
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
call "C:\Program Files\Microsoft Visual Studio\2022\%1\VC\Auxiliary\Build\vcvars64.bat"
call build-windows.bat -t
call "C:\Program Files\Microsoft Visual Studio\2019\%1\VC\Auxiliary\Build\vcvars64.bat"
call build-windows.bat -t
4 changes: 2 additions & 2 deletions assembly/native/build-windows.bat
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
REM execute this script inside elevated (Run as Administrator) console "x64 Native Tools Command Prompt for VS 2022"
REM execute this script inside elevated (Run as Administrator) console "x64 Native Tools Command Prompt for VS 2019"

echo off

Expand Down Expand Up @@ -62,7 +62,7 @@ if not exist "secp256k1" (
git clone https://github.com/bitcoin-core/secp256k1.git
cd secp256k1
git checkout v0.3.2
cmake -G "Visual Studio 17 2022" -A x64 -S . -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DBUILD_SHARED_LIBS=OFF
cmake -G "Visual Studio 14 2019" -A x64 -S . -B build -DSECP256K1_ENABLE_MODULE_RECOVERY=ON -DBUILD_SHARED_LIBS=OFF
IF %errorlevel% NEQ 0 (
echo Can't configure secp256k1
exit /b %errorlevel%
Expand Down
2 changes: 1 addition & 1 deletion assembly/wasm/fift-func-wasm-build-ubuntu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ cd ..

git clone https://github.com/jedisct1/libsodium
cd libsodium
git checkout 1.0.19-RELEASE
git checkout 1.0.18-RELEASE
SODIUM_DIR=`pwd`
cd ..

Expand Down

0 comments on commit 494bd21

Please sign in to comment.