diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 5a6efe3..13de4cb 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -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 @@ -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 \ No newline at end of file + # run: make tests && ./tests