Skip to content

Commit

Permalink
ci: update to upload-artifact@v4
Browse files Browse the repository at this point in the history
  • Loading branch information
ntamas committed Jul 21, 2024
1 parent f04cd57 commit 279b891
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,9 @@ jobs:
CIBW_BUILD: "*-musllinux_${{ matrix.wheel_arch }}"
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test-musl]' && python -m pytest -v tests"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels-linux-${{ matrix.wheel_arch }}
path: ./wheelhouse/*.whl

build_wheel_linux_aarch64_manylinux:
Expand All @@ -70,8 +71,9 @@ jobs:
CIBW_ARCHS_LINUX: aarch64
CIBW_BUILD: "*-manylinux_aarch64"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels-linux-aarch64-manylinux
path: ./wheelhouse/*.whl

build_wheel_linux_aarch64_musllinux:
Expand All @@ -96,8 +98,9 @@ jobs:
CIBW_BUILD: "*-musllinux_aarch64"
CIBW_TEST_COMMAND: "cd {project} && pip install --prefer-binary '.[test-musl]' && python -m pytest -v tests"

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels-linux-aarch64-musllinux
path: ./wheelhouse/*.whl

build_wheel_macos:
Expand Down Expand Up @@ -163,8 +166,9 @@ jobs:
CIBW_ENVIRONMENT: "LDFLAGS=-L$HOME/local/lib"
IGRAPH_CMAKE_EXTRA_ARGS: -DCMAKE_OSX_ARCHITECTURES=${{ matrix.cmake_arch }} ${{ matrix.cmake_extra_args }} -DCMAKE_PREFIX_PATH=$HOME/local

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels-macos-${{ matrix.wheel_arch }}
path: ./wheelhouse/*.whl

build_wheel_wasm:
Expand Down Expand Up @@ -204,8 +208,9 @@ jobs:
limit-access-to-actor: true
wait-timeout-minutes: 5

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels-wasm
path: ./dist/*.whl

build_wheel_win:
Expand Down Expand Up @@ -270,8 +275,9 @@ jobs:
IGRAPH_EXTRA_LIBRARIES: libxml2,lzma,zlib,iconv,charset
IGRAPH_EXTRA_DYNAMIC_LIBRARIES: wsock32,ws2_32

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: wheels-win-${{ matrix.wheel_arch }}
path: ./wheelhouse/*.whl

build_sdist:
Expand Down Expand Up @@ -312,8 +318,9 @@ jobs:
pip install --prefer-binary cairocffi numpy scipy pandas networkx pytest pytest-timeout
python -m pytest -v tests
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: sdist
path: dist/*.tar.gz

# When updating 'runs-on', the ASan/UBSan library paths/versions must also be updated for LD_PRELOAD
Expand Down Expand Up @@ -375,3 +382,4 @@ jobs:
LSAN_OPTIONS: "suppressions=etc/lsan-suppr.txt:print_suppressions=false"
run: |
LD_PRELOAD=/lib/x86_64-linux-gnu/libasan.so.5:/lib/x86_64-linux-gnu/libubsan.so.1 python -m pytest --capture=sys tests

0 comments on commit 279b891

Please sign in to comment.