Merge pull request #5 from felixjulianheitmann/openssl3-fixes #89
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: LCXX build & test - Windows | |
on: | |
push: | |
branches: [ "develop", "main" ] | |
pull_request: | |
branches: [ "develop", "main" ] | |
defaults: | |
run: | |
shell: bash | |
jobs: | |
build-windows: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: install OpenSSL | |
run: choco install openssl | |
- name: configure | |
run: | | |
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release .. | |
- name: build | |
working-directory: build | |
run: cmake --build . --config Release | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: lcxx-tests-windows | |
path: | | |
${{ github.workspace }}/build/tests/*/ | |
retention-days: 3 | |
if-no-files-found: error | |
tests-windows: | |
needs: build-windows | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v4 | |
# - name: install OpenSSL | |
# run: choco install openssl | |
- uses: actions/download-artifact@v4 | |
with: | |
name: lcxx-tests-windows | |
- name: display artifacts | |
run: ls -R | |
- name: crypto-tests | |
run: ./crypto/Release/crypto_test.exe | |
- name: lcxx-tests | |
run: ./lcxx/Release/lcxx_test.exe |