diff options
| author | Brent Cook <busterb@gmail.com> | 2024-02-13 03:24:53 -0600 |
|---|---|---|
| committer | Brent Cook <busterb@gmail.com> | 2024-03-03 15:32:50 -0600 |
| commit | b68d02c4577a05dc5edab5988aebd6b3081b0a35 (patch) | |
| tree | 226be46600c255d802a8a042c4328124e77adb43 | |
| parent | 45d267bd424781995102f5a9b953d159fc1be3af (diff) | |
| download | portable-b68d02c4577a05dc5edab5988aebd6b3081b0a35.tar.gz portable-b68d02c4577a05dc5edab5988aebd6b3081b0a35.tar.bz2 portable-b68d02c4577a05dc5edab5988aebd6b3081b0a35.zip | |
test windows builds with shared libs enabled
| -rw-r--r-- | .github/workflows/windows.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 8adb9f9..be8ce57 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml | |||
| @@ -13,7 +13,7 @@ concurrency: | |||
| 13 | 13 | ||
| 14 | jobs: | 14 | jobs: |
| 15 | test: | 15 | test: |
| 16 | name: "${{ matrix.os }}/${{ matrix.arch }} (${{ matrix.generator }})" | 16 | name: "${{ matrix.os }}/${{ matrix.arch }}/shared ${{ matrix.shared }} (${{ matrix.generator }})" |
| 17 | runs-on: "${{ matrix.os }}" | 17 | runs-on: "${{ matrix.os }}" |
| 18 | if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} | 18 | if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }} |
| 19 | permissions: | 19 | permissions: |
| @@ -23,6 +23,7 @@ jobs: | |||
| 23 | matrix: | 23 | matrix: |
| 24 | os: ["windows-2022", "windows-2019"] | 24 | os: ["windows-2022", "windows-2019"] |
| 25 | arch: ["ARM64", "x64", "Win32"] | 25 | arch: ["ARM64", "x64", "Win32"] |
| 26 | shared: ["ON", "OFF"] | ||
| 26 | include: | 27 | include: |
| 27 | - os: "windows-2022" | 28 | - os: "windows-2022" |
| 28 | generator: "Visual Studio 17 2022" | 29 | generator: "Visual Studio 17 2022" |
| @@ -49,7 +50,7 @@ jobs: | |||
| 49 | 50 | ||
| 50 | - name: "Configure CMake" | 51 | - name: "Configure CMake" |
| 51 | shell: cmd | 52 | shell: cmd |
| 52 | run: cmake -Bbuild -G "${{ matrix.generator }}" -A ${{ matrix.arch }} -DCMAKE_INSTALL_PREFIX=../local | 53 | run: cmake -Bbuild -G "${{ matrix.generator }}" -A ${{ matrix.arch }} DBUILD_SHARED_LIBS=${{ matrix.shared }} -DCMAKE_INSTALL_PREFIX=../local |
| 53 | 54 | ||
| 54 | - name: "Build" | 55 | - name: "Build" |
| 55 | shell: cmd | 56 | shell: cmd |
| @@ -64,5 +65,5 @@ jobs: | |||
| 64 | if: always() | 65 | if: always() |
| 65 | uses: actions/upload-artifact@v4 | 66 | uses: actions/upload-artifact@v4 |
| 66 | with: | 67 | with: |
| 67 | name: "${{ matrix.os }}-${{ matrix.arch }}-build-results" | 68 | name: "${{ matrix.os }}-${{ matrix.arch }}-shared-${{ matrix.shared }}-build-results" |
| 68 | path: "build" | 69 | path: "build" |
