Skip to content

Commit

Permalink
Use Boost 1.74 for OSX due to bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
Flamefire committed Dec 18, 2020
1 parent e30bf37 commit 97c6e74
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 12 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,24 +16,23 @@ jobs:
- { compiler: gcc-6, os: ubuntu-16.04, buildType: Debug, coverage: true }
- { compiler: clang-7, os: ubuntu-18.04, buildType: Release }
- { compiler: clang-7, os: ubuntu-18.04, buildType: Debug }
- { compiler: clang , os: macos-10.15, buildType: Debug }
- { compiler: clang , os: macos-10.15, buildType: Debug, boostVersion: 1.74.0 } # Multiple bugs with recent OSX until 1.74
# Latest GCC
- { compiler: gcc-10, os: ubuntu-18.04, buildType: Debug }
# Latest Clang with externals
- { compiler: clang-10, os: ubuntu-18.04, buildType: Debug,
env: { ADDITIONAL_CMAKE_FLAGS: "-DRTTR_EXTERNAL_BUILD_TESTING=ON -DRTTR_ENABLE_SANITIZERS=ON"}
}
- { compiler: clang-10, os: ubuntu-18.04, buildType: Debug, externalSanitizer: true }
# Latest Clang with latest boost
- { compiler: clang-10, os: ubuntu-18.04, buildType: Debug,
env: { BOOST_VERSION: 1.75.0,
ADDITIONAL_CMAKE_FLAGS: "-DRTTR_EXTERNAL_BUILD_TESTING=ON -DRTTR_ENABLE_SANITIZERS=ON"
}
}
- { compiler: clang-10, os: ubuntu-18.04, buildType: Debug, boostVersion: 1.75.0, externalSanitizer: true }

runs-on: ${{matrix.os}}

steps:
- run: echo "DEPS_DIR=${{runner.temp}}/.cache" >> $GITHUB_ENV
- run: echo "BOOST_VERSION=${{matrix.boostVersion}}" >> $GITHUB_ENV
if: matrix.boostVersion
- run: echo "ADDITIONAL_CMAKE_FLAGS=-DRTTR_EXTERNAL_BUILD_TESTING=ON -DRTTR_ENABLE_SANITIZERS=ON" >> $GITHUB_ENV
if: matrix.externalSanitizer

- uses: actions/checkout@v2
with:
submodules: true
Expand Down Expand Up @@ -85,7 +84,7 @@ jobs:
- name: Install system packages (OSX)
if: startsWith(runner.os, 'macos')
run: |
brew install ccache cmake boost sdl2 sdl2_mixer gettext miniupnpc
brew install ccache cmake boost sdl2 sdl2_mixer gettext miniupnpc libiconv
echo /usr/local/opt/gettext/bin >> $GITHUB_PATH
- name: Install dependencies
Expand All @@ -104,8 +103,8 @@ jobs:
if: matrix.coverage
run: echo "ADDITIONAL_CMAKE_FLAGS=${ADDITIONAL_CMAKE_FLAGS} -DRTTR_EXTERNAL_BUILD_TESTING=ON -DRTTR_ENABLE_COVERAGE=ON" >> $GITHUB_ENV
- name: Setup ruby for coverage collection
uses: ruby/setup-ruby@v1
if: matrix.coverage
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6

Expand Down
2 changes: 1 addition & 1 deletion external/libutil

0 comments on commit 97c6e74

Please sign in to comment.