Skip to content

Commit

Permalink
Use Ninja to build project in GitHub Actions on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Nov 3, 2024
1 parent 3be929b commit 97611fe
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
cython ~=3.0
scikit-build-core
build
ninja
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,12 +170,18 @@ jobs:
with:
python-version: ${{ matrix.python-version }}
architecture: x64
- name: Configure build for amd64
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64
- name: Install Python requirements
run: python -m pip install -r .github/workflows/requirements.txt
- name: Install test requirements
run: python -m pip install -r src/pyrodigal/tests/requirements.txt
- name: Build C extension in release mode
run: python -m pip install -e . --no-build-isolation -v -C cmake.build-type=Release
env:
CMAKE_GENERATOR: Ninja
- name: Test without coverage
run: python -m unittest pyrodigal.tests -vv

Expand Down

0 comments on commit 97611fe

Please sign in to comment.