Skip to content

Commit

Permalink
Simplify Windows build matrix and artifact names
Browse files Browse the repository at this point in the history
  • Loading branch information
mtrojnar committed Mar 4, 2024
1 parent 5633d4e commit 91b7cb9
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,8 @@ jobs:
include:
- arch: 'x86'
build_for: 'WIN32'
openssl_dir: 'C:\vcpkg\packages\openssl_x86-windows'
- arch: 'x64'
build_for: 'WIN64'
openssl_dir: 'C:\vcpkg\packages\openssl_x64-windows'

runs-on: windows-latest

Expand All @@ -93,18 +91,18 @@ jobs:
- name: Install OpenSSL with VCPKG
run: |
vcpkg install --triplet=${{matrix.arch}}-windows openssl
echo "${{matrix.openssl_dir}}\tools\openssl" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "C:\vcpkg\packages\openssl_${{matrix.arch}}-windows\tools\openssl" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
- name: System information
run: openssl version -a

- name: Build
run: nmake -f Makefile.mak
BUILD_FOR=${{matrix.build_for}}
OPENSSL_DIR="${{matrix.openssl_dir}}"
OPENSSL_DIR="C:\vcpkg\packages\openssl_${{matrix.arch}}-windows"

- name: Upload the DLLs
uses: actions/upload-artifact@v3
with:
name: libp11-${{env.version}}-openssl-${{matrix.arch}}
name: libp11-${{env.version}}-${{matrix.arch}}
path: ${{github.workspace}}/src/*.dll

0 comments on commit 91b7cb9

Please sign in to comment.