Skip to content

Openssl3 fixes

Openssl3 fixes #83

name: LCXX build & test - Ubuntu
on:
push:
branches: [ "develop" ]
tags:
- v*.*.*
pull_request:
branches: [ "develop", "main" ]
defaults:
run:
shell: bash
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Get latest GCC
uses: egor-tensin/setup-gcc@v1
with:
version: 11
platform: x64
- name: configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Release ..
- name: build
working-directory: build
run: cmake --build .
- uses: actions/upload-artifact@v4
with:
name: lcxx-tests-ubuntu
path: |
${{ github.workspace }}/build/tests/*/
retention-days: 3
if-no-files-found: error
tests-linux:
needs: build-linux
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Get latest GCC (libstdc++ required)
uses: egor-tensin/setup-gcc@v1
with:
version: 11
platform: x64
- uses: actions/download-artifact@v4
with:
name: lcxx-tests-ubuntu
- name: display artifacts
run: ls -R
- name: crypto-tests
run: chmod +x crypto/crypto_test && ./crypto/crypto_test
- name: identifiers-tests
run: chmod +x identifiers/identifiers_test && ./identifiers/identifiers_test
- name: lcxx-tests
run: chmod +x lcxx/lcxx_test && ./lcxx/lcxx_test