Skip to content

Commit

Permalink
test -Wall
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Nov 1, 2021
1 parent e833075 commit 6118807
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,14 @@ jobs:
- run: pip install -U -e .[dev]
- run: pytest
- uses: codecov/codecov-action@v1
- name: compile -Wall
run: |
git clean -Xdf
pip install toml
python -c 'import toml; c=toml.load("pyproject.toml"); print("\0".join(c["build-system"]["requires"]), end="")' \
| xargs -0 pip install
python setup.py build -- -DCUVEC_DEBUG=1 \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type"
cuda:
if: github.event_name != 'pull_request' || github.repository_owner != 'AMYPAD'
name: CUDA py${{ matrix.python }}
Expand All @@ -71,6 +79,14 @@ jobs:
- run: pip install -U -e .[dev]
- run: pytest
- uses: codecov/codecov-action@v1
- name: compile -Wall
run: |
git clean -Xdf
pip install toml
python -c 'import toml; c=toml.load("pyproject.toml"); print("\0".join(c["build-system"]["requires"]), end="")' \
| xargs -0 pip install
python setup.py build -- -DCUVEC_DEBUG=1 \
-DCMAKE_CXX_FLAGS="-Wall -Wextra -Wpedantic -Werror -Wno-missing-field-initializers -Wno-unused-parameter -Wno-cast-function-type"
- name: Post Run setup-python
run: setup-python -p${{ matrix.python }} -Dr
if: ${{ always() }}
Expand Down

0 comments on commit 6118807

Please sign in to comment.