1
0
Fork 0
mirror of https://github.com/eosswedenorg/libantelope synced 2026-06-16 19:50:01 +02:00
libantelope/.github/workflows/CI.yml

43 lines
846 B
YAML

name: CI
on:
push:
branches:
- '*'
- '*/*'
- '!master'
jobs:
compile:
strategy:
matrix:
os: [ ubuntu-18.04, ubuntu-20.04, ubuntu-22.04, macos-latest, windows-latest ]
name: ${{matrix.os}}
runs-on: ${{matrix.os}}
steps:
- uses: actions/checkout@v1
- name: Dependancies (mac)
if: runner.os == 'macOS'
shell: bash
run: brew install openssl@1.1
- name: Configure
shell: bash
run: |
if [ "$RUNNER_OS" == "macOS" ]; then
SSL_OPTS="-D OPENSSL_ROOT_DIR=/usr/local/opt/openssl@1.1"
fi
cmake ${SSL_OPTS} -B build
- name: Build
shell: bash
run: cmake --build build
- name: Upload artifact
uses: actions/upload-artifact@v1
with:
name: ${{matrix.os}}-build
path: build