diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 93c75df..e883997 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -1,6 +1,12 @@ name: Build library and test programs -on: [pull_request, push] +on: + push: + branches: + - 'main' + pull_request: + branches: + - 'main' env: SOLANA_ZIG_VERSION: v1.47.0 diff --git a/build.zig.zon b/build.zig.zon index 1d00ad8..c898699 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -1,7 +1,7 @@ .{ .fingerprint = 0xdc47aff950fd68c0, .name = .solana_program_sdk, - .version = "0.16.0", + .version = "0.16.1", .minimum_zig_version = "0.14.0", // This field is optional. diff --git a/program-test/install-build-deps.sh b/program-test/install-build-deps.sh index a2320f2..e443543 100755 --- a/program-test/install-build-deps.sh +++ b/program-test/install-build-deps.sh @@ -2,9 +2,22 @@ set -e case $(uname -s | cut -c1-7) in "Windows" | "MINGW64") - choco install openssl --version 3.4.1 --install-arguments="'/DIR=C:\OpenSSL'" -y - export OPENSSL_LIB_DIR='C:\OpenSSL\lib\VC\x64\MT' - export OPENSSL_INCLUDE_DIR='C:\OpenSSL\include' + cat > vcpkg.json <