Skip to content

Commit

Permalink
add cflags
Browse files Browse the repository at this point in the history
  • Loading branch information
markreidvfx committed Jun 13, 2022
1 parent 979e1d1 commit 86758db
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/python-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ jobs:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python-version: ["2.7", "3.8", "3.9", "3.10"]
include:
- os: ubuntu-latest
CFLAGS: "-g0 -O3"
- os: windows-latest
CFLAGS: "\02"
- os: macos-latest
CFLAGS: "-g0 -O3"

steps:
- uses: actions/checkout@v3
Expand Down Expand Up @@ -47,6 +54,8 @@ jobs:
python -m unittest discover tests -v
- name: Run Cython Ext Unit Tests
env:
CFLAGS : ${{ matrix.CFLAGS }}
run: |
python setup.py build_ext --inplace
python -m unittest discover tests -v
Expand Down

0 comments on commit 86758db

Please sign in to comment.