Skip to content

Commit

Permalink
ci/win: try self build openssl
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jan 16, 2024
1 parent 5e6ed67 commit b78e52c
Showing 1 changed file with 10 additions and 12 deletions.
22 changes: 10 additions & 12 deletions .github/workflows/cmake_win.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ jobs:
environment_script: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat",
generators: "Ninja",
build: "Debug",
openssl: true,
disable_openssl: "OFF",
openssl: "VC-WIN64A",
testing: true
}
- {
Expand All @@ -32,8 +31,7 @@ jobs:
environment_script: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat",
generators: "Ninja",
build: "Release",
openssl: true,
disable_openssl: "OFF",
openssl: "VC-WIN64A",
testing: true
}
- {
Expand All @@ -42,9 +40,7 @@ jobs:
environment_script: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsamd64_x86.bat",
generators: "Ninja",
build: "Debug",
openssl: false,
disable_openssl: "ON",
choco: "--x86",
openssl: "VC-WIN32",
testing: false
}
- {
Expand All @@ -53,18 +49,20 @@ jobs:
environment_script: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsamd64_arm64.bat",
generators: "Ninja",
build: "Debug",
openssl: false,
disable_openssl: "ON",
openssl: "VC-WIN64-ARM",
testing: false
}

steps:
- uses: actions/checkout@v4

- name: Install OpenSSL
if: ${{ matrix.config.openssl }}
- name: Build OpenSSL
shell: cmd
run: |
choco install --no-progress ${{ matrix.config.choco }} openssl --version 3.1.1
wget https://www.openssl.org/source/openssl-3.1.4.tar.gz
tar -xzf openssl-3.1.4.tar.gz && mv openssl-3.1.4 openssl
cd openssl && perl Configure ${{ matrix.config.openssl }}
cd openssl && nmake && nmake install
- name: Build
shell: cmd
Expand Down

0 comments on commit b78e52c

Please sign in to comment.