Skip to content

Commit

Permalink
add a g++ compiler CI run
Browse files Browse the repository at this point in the history
  • Loading branch information
mattip committed May 5, 2022
1 parent 9170dc8 commit e102259
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,22 +5,26 @@ on: [pull_request]

jobs:
main_tests:
name: Main tests
name: Main tests ${{ matrix.os }} ${{ matrix.python-version }} ${{ matrix.compiler }}
runs-on: ${{ matrix.os }}
continue-on-error: true
strategy:
# Duplicate changes to this matrix to 'poc_tests'
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ['3.9', '3.10']
# Possible values: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10.0-rc.2']
# Possible values: ['2.7', '3.6', '3.7', '3.8', '3.9', '3.10.0-rc.2', 'pypy-3.8']
compiler: [""]
include:
- os: ubuntu-latest
python-version: '3.6'
- os: ubuntu-latest
python-version: '3.7'
- os: ubuntu-latest
python-version: '3.8'
- os: ubuntu-latest
python-version: '3.9'
compiler: 'g++'
## Expected failure
# - os: ubuntu-latest
# python-version: '3.10.0-rc.2'
Expand All @@ -42,6 +46,8 @@ jobs:

- name: Install/Upgrade Python dependencies
run: python -m pip install --upgrade pip wheel
- if: ${{ matrix.compiler }}
run: echo "CC=${{ matrix.compiler }}" >> $GITHUB_ENV

- name: Build
run: python -m pip install .
Expand Down

0 comments on commit e102259

Please sign in to comment.