Skip to content

Commit

Permalink
Update GitHub Actions to use new Meson build system
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Jul 7, 2024
1 parent 49c4db3 commit 2ee3258
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
cython ~=3.0
wheel
auditwheel <5.2
setuptools >=46.4.0
meson-python
ninja
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Install test requirements
run: python -m pip install -r pyrodigal/tests/requirements.txt
- name: Build C extension in debug mode
run: python setup.py build_ext --inplace --debug
run: python -m pip install --no-build-isolation --editable . -vv
- name: Test without coverage
run: python -m unittest discover -vv

Expand Down Expand Up @@ -130,7 +130,7 @@ jobs:
- name: Install test requirements
run: python -m pip install -r pyrodigal/tests/requirements.txt
- name: Build C extension in debug mode
run: python setup.py build_ext --inplace --debug --plat-name macos-x86_64
run: python -m pip install --no-build-isolation --editable . -vv
- name: Test without coverage
run: python -m unittest discover -vv

Expand Down Expand Up @@ -193,7 +193,7 @@ jobs:
- name: Install test requirements
run: python -m pip install -r pyrodigal/tests/requirements.txt
- name: Build C extension
run: python setup.py build_ext --inplace
run: python -m pip install --no-build-isolation --editable . -vv
- name: Test without coverage
run: python -m unittest discover -vv

Expand Down Expand Up @@ -230,7 +230,7 @@ jobs:
- name: Build Prodigal with optimizations
run: python setup.py build_clib
- name: Build Cython extension in debug mode
run: python setup.py build_ext --inplace --debug
run: python -m pip install --no-build-isolation --editable . -vv --config-settings setup-args="-Dbuildtype=debug"
- name: Test with coverage
run: python -m coverage run -m unittest discover -vv
- name: Report coverage
Expand Down

0 comments on commit 2ee3258

Please sign in to comment.