diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-03-30 16:52:26 +0200 |
---|---|---|
committer | Johnny Willemsen <jwillemsen@remedy.nl> | 2020-03-30 16:52:26 +0200 |
commit | de6f2d86f3c83899f4e8f3877003de63eb7b02e8 (patch) | |
tree | d26aa7af1e9c5611d75bbb63bf8581c55305499a /.github | |
parent | c86072f9fbd7892de3e0593048c857d0140e7335 (diff) | |
download | ATCD-de6f2d86f3c83899f4e8f3877003de63eb7b02e8.tar.gz |
Add multiple gcc versions
* .github/workflows/ccpp.yml:
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/ccpp.yml | 35 |
1 files changed, 33 insertions, 2 deletions
diff --git a/.github/workflows/ccpp.yml b/.github/workflows/ccpp.yml index 71093b5945b..62a5074aaee 100644 --- a/.github/workflows/ccpp.yml +++ b/.github/workflows/ccpp.yml @@ -9,11 +9,42 @@ on: jobs: build: runs-on: ubuntu-latest + strategy: + matrix: + name: [ + GCC48, + GCC6, + GCC7, + GCC8, + GCC97 + ] + include: + - name: GCC48 + CC: gcc-4.8 + CXX: g++-4.8 + PackageDeps: g++-4.8 + - name: GCC6 + CC: gcc-6 + CXX: g++-6 + PackageDeps: g++-6 + - name: GCC7 + CC: gcc-7 + CXX: g++-7 + PackageDeps: g++-7 + - name: GCC8 + CC: gcc-8 + CXX: g++-8 + PackageDeps: g++-8 + - name: GCC9 + CC: gcc-9 + CXX: g++-9 + PackageDeps: g++-9 env: ACE_ROOT: ${{ github.workspace }}/ACE TAO_ROOT: ${{ github.workspace }}/TAO MPC_ROOT: ${{ github.workspace }}/../MPC - + CC: ${{ matrix.CC }} + CXX: ${{ matrix.CXX }} steps: - name: checkout ACE/TAO uses: actions/checkout@v1 @@ -26,7 +57,7 @@ jobs: - name: Add packages run: | sudo apt-get --yes update - sudo apt-get --yes install libxerces-c-dev libssl-dev + sudo apt-get --yes install libxerces-c-dev libssl-dev ${{ matrix.PackageDeps }} - name: create $ACE_ROOT/ace/config.h run: | '#include "ace/config-linux.h"' > ${env:ACE_ROOT}/ace/config.h |