Skip to content

Commit

Permalink
more checking
Browse files Browse the repository at this point in the history
  • Loading branch information
danpf committed Nov 16, 2023
1 parent 5fda572 commit 0a13928
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 4 deletions.
24 changes: 23 additions & 1 deletion .github/workflows/pip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,21 @@ jobs:
matrix:
platform: [windows-latest, macos-latest, ubuntu-latest]
python-version: ["3.8", "3.11", "3.12", "pypy-3.8"]
# include:
# - os: windows-latest
# cc: gcc
# cxx: g++
# shell: 'msys2 {0}'
runs-on: ${{ matrix.os }}
defaults:
run:
shell: ${{ matrix.shell }}
env:
CC: ${{ matrix.cc }}
CXX: ${{ matrix.cxx }}
ARCH: ${{ matrix.arch }}
CMAKE_ARGS: ${{ matrix.cmake_args }}


steps:
- uses: actions/checkout@v4
Expand All @@ -27,9 +42,16 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Setup cmake
uses: jwlawson/[email protected]
with:
cmake-version: '3.16.x'

- uses: seanmiddleditch/gha-setup-ninja@master

- name: Build and install
run: pip install --verbose .

- name: Test
run: python -m unittest src/python/tests/tests.py
run: python src/python/tests/tests.py

6 changes: 3 additions & 3 deletions .github/workflows/wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
with:
submodules: true

- name: Set CMAKE_GENERATOR for Windows
if: matrix.os == 'windows-latest'
run: echo "CMAKE_GENERATOR=MinGW Makefiles" >> $GITHUB_ENV
# - name: Set CMAKE_GENERATOR for Windows
# if: matrix.os == 'windows-latest'
# run: echo "CMAKE_GENERATOR=MinGW Makefiles" >> $GITHUB_ENV

- uses: pypa/[email protected]
env:
Expand Down

0 comments on commit 0a13928

Please sign in to comment.