Skip to content

Bump action versions #90

Bump action versions

Bump action versions #90

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