Skip to content

Commit b2af23a

Browse files
committed
Fixed build targets + changed order of publishing
1 parent 8b3e69b commit b2af23a

2 files changed

Lines changed: 8 additions & 9 deletions

File tree

.github/workflows/publish-to-testpypi.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -220,12 +220,6 @@ jobs:
220220
path: dist
221221
pattern: alp-graphblas-wheels-*
222222
merge-multiple: true
223-
- name: Publish to TestPyPI
224-
uses: pypa/gh-action-pypi-publish@release/v1
225-
with:
226-
repository-url: https://test.pypi.org/legacy/
227-
packages-dir: dist/
228-
verbose: true
229223

230224
- name: Create GitHub Release and upload wheels
231225
uses: softprops/action-gh-release@v1
@@ -234,6 +228,13 @@ jobs:
234228
name: ${{ github.ref_name }}
235229
files: dist/*.whl
236230

231+
- name: Publish to TestPyPI
232+
uses: pypa/gh-action-pypi-publish@release/v1
233+
with:
234+
repository-url: https://test.pypi.org/legacy/
235+
packages-dir: dist/
236+
verbose: true
237+
237238
- name: Skip in-publish verification
238239
shell: bash
239240
run: |

pyalp/src/CMakeLists.txt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -231,9 +231,7 @@ set(PYTHON_VERSION ${PYTHON_VERSION_STRING})
231231
set(pybind11_VERSION ${pybind11_VERSION})
232232

233233
# This is a simplified list. A more robust solution would inspect the build targets.
234-
set(pyalp_ALGORITHMS "conjugate_gradient")
235-
set(pyalp_ALGORITHMS "SARE_Ising")
236-
set(pyalp_ALGORITHMS "SARE_QUBO")
234+
set(pyalp_ALGORITHMS "conjugate_gradient simulated_annealing_replica_exchange")
237235
set(pyalp_BACKENDS "reference, reference_omp")
238236

239237
# Configure the metadata file from the template

0 commit comments

Comments
 (0)