Skip to content

Commit

Permalink
Land #1000, test shared library builds for Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
busterb committed Feb 28, 2024
2 parents d8702f6 + b068962 commit d3ce4a7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ concurrency:

jobs:
test:
name: "${{ matrix.os }}/${{ matrix.arch }} (${{ matrix.generator }})"
name: "${{ matrix.os }}/${{ matrix.arch }} (${{ matrix.generator }}${{ matrix.shared == 'ON' && ', shared' || '' }})"
runs-on: "${{ matrix.os }}"
if: ${{ github.repository_owner == 'libressl' || github.event_name != 'schedule' }}
permissions:
Expand All @@ -23,6 +23,7 @@ jobs:
matrix:
os: ["windows-2022", "windows-2019"]
arch: ["ARM64", "x64", "Win32"]
shared: ["ON", "OFF"]
include:
- os: "windows-2022"
generator: "Visual Studio 17 2022"
Expand All @@ -49,7 +50,7 @@ jobs:

- name: "Configure CMake"
shell: cmd
run: cmake -Bbuild -G "${{ matrix.generator }}" -A ${{ matrix.arch }} -DCMAKE_INSTALL_PREFIX=../local
run: cmake -Bbuild -G "${{ matrix.generator }}" -A ${{ matrix.arch }} DBUILD_SHARED_LIBS=${{ matrix.shared }} -DCMAKE_INSTALL_PREFIX=../local

- name: "Build"
shell: cmd
Expand All @@ -64,5 +65,5 @@ jobs:
if: always()
uses: actions/upload-artifact@v4
with:
name: "${{ matrix.os }}-${{ matrix.arch }}-build-results"
name: "${{ matrix.os }}-${{ matrix.arch }}${{ matrix.shared == 'ON' && '-shared' || '' }}-build-results"
path: "build"

0 comments on commit d3ce4a7

Please sign in to comment.