Skip to content

Commit

Permalink
attempt to introduce env var in workflow to control compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
gschnabel committed May 29, 2024
1 parent 6f75273 commit 66accc0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,16 @@ jobs:
run: poetry version $(git describe --tags --abbrev=0)

- name: Install dependencies
env:
INSTALL_ENDF_PARSERPY_CPP: no
run: poetry install -vvv

- name: Install cibuildwheel
run: poetry run python -m pip install cibuildwheel==2.18.1

- name: Build wheels
env:
INSTALL_ENDF_PARSERPY_CPP: yes
run: poetry run python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -72,9 +76,13 @@ jobs:
run: poetry version $(git describe --tags --abbrev=0)

- name: Install dependencies
env:
INSTALL_ENDF_PARSERPY_CPP: no
run: poetry install -vvv

- name: Build SDist
env:
INSTALL_ENDF_PARSERPY_CPP: no
run: poetry build -f sdist

- uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 66accc0

Please sign in to comment.