ci build script updated

This commit is contained in:
Nicolas 2025-10-04 22:58:56 +02:00
parent c47c190ed0
commit 86122d11dd
1 changed files with 7 additions and 6 deletions

View File

@ -24,12 +24,13 @@ jobs:
- name: Build object files - name: Build object files
run: bash src/copapy/obj/crosscompile.sh run: bash src/copapy/obj/crosscompile.sh
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: stencil-object-files name: stencil-object-files
path: src/copapy/obj/*.o path: src/copapy/obj/*.o
build_wheels: build_wheels:
needs: [build_stencils]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
strategy: strategy:
matrix: matrix:
@ -38,15 +39,15 @@ jobs:
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- uses: actions/download-artifact@v3 - uses: actions/download-artifact@v4
with: with:
name: stencil-object-files name: stencil-object-files
path: src/copapy/obj path: src/copapy/obj
- name: Set up Python - name: Set up Python
uses: actions/setup-python@v4 uses: actions/setup-python@v5
with: with:
python-version: "3.x" python-version: "3.11"
# Only needed for Linux ARM builds # Only needed for Linux ARM builds
- name: Set up QEMU - name: Set up QEMU
@ -66,7 +67,7 @@ jobs:
CIBW_ARCHS_MACOS: "universal2" # x86_64 arm64 CIBW_ARCHS_MACOS: "universal2" # x86_64 arm64
CIBW_ARCHS_WINDOWS: "AMD64 x86" CIBW_ARCHS_WINDOWS: "AMD64 x86"
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v4
with: with:
name: wheels name: wheels
path: wheelhouse/*.whl path: wheelhouse/*.whl
@ -75,7 +76,7 @@ jobs:
# needs: [build_wheels] # needs: [build_wheels]
# runs-on: ubuntu-latest # runs-on: ubuntu-latest
# steps: # steps:
# - uses: actions/download-artifact@v3 # - uses: actions/download-artifact@v4
# with: # with:
# name: wheels # name: wheels
# path: wheelhouse # path: wheelhouse