Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
45 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,32 @@ | ||
name: Ubuntu 18.04 CI (GCC 7) | ||
name: Ubuntu 18.04 CI (GCC 7, 6, 5) | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
ubuntu-build: | ||
runs-on: ubuntu-18.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- {cxx: -DCMAKE_CXX_COMPILER=g++-5} | ||
- {cxx: -DCMAKE_CXX_COMPILER=g++-6} | ||
- {cxx: } # default compiler 7 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup cmake | ||
uses: jwlawson/actions-setup-cmake@v1.0 | ||
with: | ||
cmake-version: '3.9.x' | ||
- name: Use cmake | ||
- name: Install older compilers | ||
run: | | ||
mkdir build && | ||
cd build && | ||
cmake -DFASTFLOAT_TEST=ON .. && | ||
cmake --build . && | ||
ctest --output-on-failure -R basictest | ||
sudo -E apt-get update | ||
sudo -E apt-get install -y --force-yes g++-5 g++-6 | ||
- name: Prepare build dir | ||
run: mkdir build | ||
- name: Configure | ||
run: cd build && cmake ${{matrix.cxx}} -DFASTFLOAT_TEST=ON .. | ||
- name: Build | ||
run: cmake --build build | ||
- name: Run basic tests | ||
run: cd build && ctest --output-on-failure -R basictest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,31 @@ | ||
name: Ubuntu 20.04 CI (GCC 9) | ||
name: Ubuntu 20.04 CI (GCC 9, 8) | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
ubuntu-build: | ||
runs-on: ubuntu-20.04 | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- {cxx: -DCMAKE_CXX_COMPILER=g++-8} | ||
- {cxx: } # default compiler 9 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Setup cmake | ||
uses: jwlawson/actions-setup-cmake@v1.0 | ||
with: | ||
cmake-version: '3.9.x' | ||
- name: Use cmake | ||
- name: install older compilers | ||
run: | | ||
mkdir build && | ||
cd build && | ||
cmake -DFASTFLOAT_TEST=ON .. && | ||
cmake --build . && | ||
ctest --output-on-failure -R basictest | ||
sudo -E apt-get update | ||
sudo -E apt-get install -y --force-yes g++-8 g++-7 | ||
- name: Prepare build dir | ||
run: mkdir build | ||
- name: Configure | ||
run: cd build && cmake ${{matrix.cxx}} -DFASTFLOAT_TEST=ON .. | ||
- name: Build | ||
run: cmake --build build | ||
- name: Run basic tests | ||
run: cd build && ctest --output-on-failure -R basictest |