Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 16 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,32 @@

name: Build and Test

on: [push]
on:
pull_request:
types: [opened, synchronize]
branches:
- main

merge_group:
types:
- checks_requested

push:
# Allow manual invocation.
workflow_dispatch:

jobs:
buid-and-test:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

strategy:
fail-fast: false

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4

- name: Set up Python 3.10
uses: actions/setup-python@v3
uses: actions/setup-python@3542bca2639a428e1796aaa6a2ffef0c0f575566 # v3
with:
python-version: '3.10'

Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/prerelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ permissions:

jobs:
create_version:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.10'
- name: Create version
Expand All @@ -33,19 +33,19 @@ jobs:
fail-fast: false
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04
arch: x86_64
- os: windows-latest
- os: windows-2022
arch: auto
- os: macos-latest
- os: macos-14
arch: auto
- os: macos-13
arch: auto

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.10'
- name: Install dependencies
Expand All @@ -66,19 +66,19 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
with:
name: python-wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl

release-wheels:
name: Publish all wheels
needs: [build_wheels]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
pattern: python-wheels-*
merge-multiple: true
Expand Down
22 changes: 11 additions & 11 deletions .github/workflows/stable-release-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ permissions:

jobs:
create_version:
runs-on: ubuntu-latest
runs-on: ubuntu-24.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.10'
- name: Create version
Expand All @@ -32,19 +32,19 @@ jobs:
fail-fast: true
matrix:
include:
- os: ubuntu-latest
- os: ubuntu-24.04
arch: x86_64
- os: windows-latest
- os: windows-2022
arch: auto
- os: macos-latest
- os: macos-14
arch: auto
- os: macos-13
arch: auto

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- name: Set up Python
uses: actions/setup-python@v5
uses: actions/setup-python@42375524e23c412d93fb67b49958b491fce71c38 # v5
with:
python-version: '3.10'
- name: Install dependencies
Expand All @@ -65,19 +65,19 @@ jobs:
run: |
python -m cibuildwheel --output-dir wheelhouse

- uses: actions/upload-artifact@v4
- uses: actions/upload-artifact@65c4c4a1ddee5b72f698fdd19549f0f0fb45cf08 # v4
with:
name: python-wheels-${{ matrix.os }}
path: ./wheelhouse/*.whl

release-wheels:
name: Publish all wheels
needs: [build_wheels]
runs-on: ubuntu-latest
runs-on: ubuntu-24.04

steps:
- name: Download build artifacts
uses: actions/download-artifact@v4
uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 # v4
with:
pattern: python-wheels-*
merge-multiple: true
Expand Down