diff --git a/.github/workflows/cmake_win.yml b/.github/workflows/cmake_win.yml index daa92751f..9176f200d 100644 --- a/.github/workflows/cmake_win.yml +++ b/.github/workflows/cmake_win.yml @@ -17,32 +17,52 @@ jobs: matrix: config: - { - name: "Windows (VS 2022/Ninja) Debug", + name: "Windows Debug", os: windows-2022, environment_script: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat", generators: "Ninja", - build: "Debug" + build: "Debug", + openssl: true, + disable_openssl: "OFF", + testing: true } - { - name: "Windows (VS 2022/Ninja) Release", + name: "Windows Release", os: windows-2022, environment_script: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvars64.bat", generators: "Ninja", - build: "Release" + build: "Release", + openssl: true, + disable_openssl: "OFF", + testing: true } - { - name: "Windows (VS 2022/Ninja) Debug 32-bit", + name: "Windows Debug 32-bit", os: windows-2022, environment_script: "C:\\Program Files\\Microsoft Visual Studio\\2022\\Enterprise\\VC\\Auxiliary\\Build\\vcvarsamd64_x86.bat", generators: "Ninja", build: "Debug", - choco: "--x86" + openssl: true, + disable_openssl: "OFF", + choco: "--x86", + testing: true + } + - { + name: "Windows Debug ARM64", + os: windows-2022, + 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", + testing: false } steps: - uses: actions/checkout@v3 - - name: Install deps + - name: Install OpenSSL + if: ${{ matrix.config.openssl }} run: | choco install --no-progress ${{ matrix.config.choco }} openssl @@ -52,10 +72,11 @@ jobs: call "${{ matrix.config.environment_script }}" cmake --version ninja --version - cmake -S . -B build -G "${{ matrix.config.generators }}" -DCMAKE_C_FLAGS="/WX" -DCMAKE_BUILD_TYPE=${{ matrix.config.build }} + cmake -S . -B build -G "${{ matrix.config.generators }}" -DCMAKE_C_FLAGS="/WX" -DCMAKE_BUILD_TYPE=${{ matrix.config.build }} -DCMAKE_DISABLE_FIND_PACKAGE_OpenSSL=${{ matrix.config.disable_openssl }} cmake --build build --parallel -t retest - name: retest + if: ${{ matrix.config.testing }} shell: cmd run: | build\test\retest.exe -a -v