From 6c37eca33ab1a572f1f6e0241487ae02c6a402ed Mon Sep 17 00:00:00 2001 From: Marc Culler Date: Tue, 3 Sep 2024 17:54:13 -0500 Subject: [PATCH] Try newer versions of actions. --- .github/workflows/macos.yml | 12 ++++++------ .github/workflows/windows.yml | 12 ++++++------ 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/workflows/macos.yml b/.github/workflows/macos.yml index 5a03724..f49cf23 100644 --- a/.github/workflows/macos.yml +++ b/.github/workflows/macos.yml @@ -11,23 +11,23 @@ jobs: os: [macos-13] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v2 + - uses: actions/setup-python@v5 name: Install Python with: - python-version: 3.12 + python-version: '3.12' - name: Install cibuildwheel run: | python -m pip install cibuildwheel - name: Build wheels run: | - python3.12 -m cibuildwheel --output-dir wheelhouse + python3 -m cibuildwheel --output-dir wheelhouse env: - CIBW_BUILD: cp38* cp39* cp310-* cp311-* cp312-* + CIBW_BUILD: cp38* cp39* cp310* cp311* cp312* CIBW_ARCHS_MACOS: "x86_64 arm64 universal2" - CIBW_BEFORE_BUILD: | + CIBW_BEFORE_BUILD: | pip install cython>=3.0.0 CIBW_TEST_COMMAND: python -m cypari.test diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml index 42046e9..e13dc71 100644 --- a/.github/workflows/windows.yml +++ b/.github/workflows/windows.yml @@ -11,9 +11,9 @@ jobs: shell: msys2 {0} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - - uses: actions/setup-python@v4 + - uses: actions/setup-python@v5 name: Install a Python to use for building with: python-version: '3.12' @@ -39,7 +39,7 @@ jobs: - name: Install cibuildwheel run: | - python -m pip install cibuildwheel + python3 -m pip install cibuildwheel - name: Build gmp and pari run: | @@ -47,12 +47,12 @@ jobs: - name: Build many wheels run: | - python -m cibuildwheel --output-dir wheelhouse + python3 -m cibuildwheel --output-dir wheelhouse env: CIBW_ARCHS: AMD64 - CIBW_BUILD: cp38* cp39* cp310* cp311* cp312-* + CIBW_BUILD: cp38* cp39* cp310* cp311* cp312* CIBW_BEFORE_BUILD: | - pip install cython + pip install Cython>=3.0.0 CIBW_TEST_COMMAND: python -m cypari.test - uses: actions/upload-artifact@v3