Commit 23d9cb4f authored by lukas's avatar lukas

support multiOS CI builds

parent 539423ae
name: build conan package
on: push
on: [push, pull_request]
jobs:
build_conan:
runs-on: ubuntu-latest
strategy:
matrix:
os: [ windows-latest, ubuntu-latest, macos-latest ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
with:
python-version: '3.x'
architecture: 'x64'
# install dependencies
- name: dependencies
run: |
sudo apt-get update
sudo apt-get install -yq python3 python3-pip python3-setuptools build-essential cmake make
sudo pip3 install conan
# build project
- name: build conan package
- name: install conan
run: pip3 install conan
- name: setup conan
run: |
conan profile new default --detect --force # Generates default profile detecting GCC and sets old ABI
# new ABI version needs to be set on GCC >= 5
- name: set ABI
if: ${{ matrix.os == 'ubuntu-latest' }}
run: |
conan profile update settings.compiler.libcxx=libstdc++11 default # Sets libcxx to C++11 ABI
- name: build conan package
run: |
conan create .
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment