Skip to content

Commit 1ef81f4

Browse files
Fix Bisect (#25218)
- Nim requires `SSL_library_init`, OpenSSL 3.x removed `SSL_library_init`, Windows defaults to OpenSSL 3.x, then install OpenSSL 1.x on Windows. - Keep `jiro4989/setup-nim-action` at `v1`, because `v2` uses a YAML "hardcoded" matrix of Nim versions, but this Bisect "dynamically" finds the Nim version with a bug, therefore we cant hardcode Nim versions in the YAML, the Bisect programmatically installs required Nim versions as it goes bisecting commit-by-commit. - Update `actions/checkout` from `v4` to `v5`. - Add support for Nim `2.2.4`. @ringabout
1 parent 3962264 commit 1ef81f4

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/bisects.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,16 @@ jobs:
1515
name: ${{ matrix.platform }}-bisects
1616
runs-on: ${{ matrix.platform }}
1717
steps:
18-
- uses: actions/checkout@v4
18+
- uses: actions/checkout@v5
1919

20-
- uses: jiro4989/setup-nim-action@v1
20+
- name: Install OpenSSL (Windows)
21+
if: |
22+
runner.os == 'Windows'
23+
run: choco install openssl.light --version=1.1.1.0 # OpenSSL 3.x removed SSL_library_init
24+
shell: 'powershell'
25+
26+
# v2 wont work here, because uses "hardcoded" nim versions, action "dynamically" finds version with bug.
27+
- uses: jiro4989/setup-nim-action@v1
2128
with:
2229
nim-version: 'devel'
2330

0 commit comments

Comments
 (0)