diff options
| author | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-07-30 08:01:17 +0900 |
|---|---|---|
| committer | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-07-30 08:20:46 +0900 |
| commit | 0ffff5c1543b3c88640e8b61d52057e96c71da64 (patch) | |
| tree | e33f437f58a8d0e761f05651045cfd94c726012f /.github/workflows | |
| parent | 686304f1581c4bbc49e8a87408e9e38d4b72445a (diff) | |
| download | portable-0ffff5c1543b3c88640e8b61d52057e96c71da64.tar.gz portable-0ffff5c1543b3c88640e8b61d52057e96c71da64.tar.bz2 portable-0ffff5c1543b3c88640e8b61d52057e96c71da64.zip | |
Run libssl verify test on windows
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/windows.yml | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 0cd342e..4814ffa 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml | |||
| @@ -29,6 +29,7 @@ jobs: | |||
| 29 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | 29 | uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
| 30 | 30 | ||
| 31 | - name: "Setup MSYS2" | 31 | - name: "Setup MSYS2" |
| 32 | id: msys2 | ||
| 32 | uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2.32.0 | 33 | uses: msys2/setup-msys2@66cd2cce69caa17b53920067426061ca1de3a884 # v2.32.0 |
| 33 | with: | 34 | with: |
| 34 | update: true | 35 | update: true |
| @@ -38,6 +39,7 @@ jobs: | |||
| 38 | git | 39 | git |
| 39 | patch | 40 | patch |
| 40 | perl | 41 | perl |
| 42 | perl-IO-Socket-SSL | ||
| 41 | 43 | ||
| 42 | - name: "Update" | 44 | - name: "Update" |
| 43 | shell: msys2 {0} | 45 | shell: msys2 {0} |
| @@ -46,6 +48,11 @@ jobs: | |||
| 46 | - name: "Configure CMake" | 48 | - name: "Configure CMake" |
| 47 | shell: pwsh | 49 | shell: pwsh |
| 48 | run: | | 50 | run: | |
| 51 | $perl = Join-Path '${{ steps.msys2.outputs.msys2-location }}' 'usr\bin\perl.exe' | ||
| 52 | & $perl -MIO::Socket::SSL::Utils -e 1 | ||
| 53 | if ($LASTEXITCODE -ne 0) { | ||
| 54 | throw "IO::Socket::SSL::Utils is unavailable" | ||
| 55 | } | ||
| 49 | $generator = cmake --help | | 56 | $generator = cmake --help | |
| 50 | Select-String '^\s*\*?\s*(Visual Studio \d+ \d+)' | | 57 | Select-String '^\s*\*?\s*(Visual Studio \d+ \d+)' | |
| 51 | Select-Object -First 1 | | 58 | Select-Object -First 1 | |
| @@ -54,7 +61,7 @@ jobs: | |||
| 54 | throw "No Visual Studio CMake generator found" | 61 | throw "No Visual Studio CMake generator found" |
| 55 | } | 62 | } |
| 56 | Write-Host "Using generator: $generator" | 63 | Write-Host "Using generator: $generator" |
| 57 | cmake -Bbuild -G "$generator" -A ${{ matrix.arch }} -D BUILD_SHARED_LIBS=${{ matrix.shared }} -D CMAKE_INSTALL_PREFIX=../local | 64 | cmake -Bbuild -G "$generator" -A ${{ matrix.arch }} -D BUILD_SHARED_LIBS=${{ matrix.shared }} -D CMAKE_INSTALL_PREFIX=../local "-DPERL_EXECUTABLE=$perl" |
| 58 | 65 | ||
| 59 | - name: "Build" | 66 | - name: "Build" |
| 60 | shell: cmd | 67 | shell: cmd |
