Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 13 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,24 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [windows-latest, ubuntu-latest, macOS-latest]
# os: [windows-latest, ubuntu-latest]
os: [ubuntu-latest]

steps:
- uses: actions/checkout@v1

- name: Upgrade Compiler
run: sudo apt install -y software-properties-common && sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test && sudo apt install -y g++-9 && sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 90 --slave /usr/bin/g++ g++ /usr/bin/g++-9 --slave /usr/bin/gcov gcov /usr/bin/gcov-9
if: matrix.os == 'ubuntu-latest'

- name: Install conan package manager
run: pip install conan
run: sudo pip install conan
if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest'

- name: Install conan package manager
run: pip install conan
if: matrix.os == 'windows-latest'

- name: Create Build Environment
# Some projects don't allow in-source building, so create a separate build directory
# We'll use this as our working directory for all subsequent commands
Expand Down Expand Up @@ -47,4 +57,4 @@ jobs:
# shell: bash
# # Execute tests defined by the CMake configuration.
# # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
# run: make tests && ./tests
# run: make tests && ./tests