Skip to content

Commit

Permalink
update CI actions to support python3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
nodtem66 committed Apr 24, 2024
1 parent 83cfc83 commit 6e9e2f9
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 156 deletions.
32 changes: 0 additions & 32 deletions .azure-pipelines/azure-pipelines-linux.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .azure-pipelines/azure-pipelines-manual.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .azure-pipelines/azure-pipelines-osx.yml

This file was deleted.

62 changes: 0 additions & 62 deletions .azure-pipelines/azure-pipelines-win.yml

This file was deleted.

12 changes: 6 additions & 6 deletions .github/workflows/binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -51,7 +51,7 @@ jobs:
run: cmake --build . --config $BUILD_TYPE

- name: Upload binary
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
retention-days: 1
Expand All @@ -72,25 +72,25 @@ jobs:
runs-on: ubuntu-latest
needs: [build]
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: ubuntu-latest
path: ubuntu

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: macos-latest
path: macos

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: windows-latest
path: windows

- name: List files
run: ls -R

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: bin64
path: ${{github.workspace}}/**
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/binary_debug.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Input
run: echo "${{ github.event.inputs.os }} ${{ github.event.inputs.compiler }}"

- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/mkdoc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
- run: pip install mkdocs-material
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
name: Build SDist
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

- uses: actions/setup-python@v4
- uses: actions/setup-python@v5

- name: Install deps
run: python -m pip install twine build
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Check metadata
run: twine check dist/*

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: dist/*.tar.gz

Expand All @@ -47,7 +47,7 @@ jobs:
os: [ubuntu-latest, windows-latest, macos-latest]

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
submodules: true

Expand All @@ -58,7 +58,7 @@ jobs:
brew install openblas
- name: Build wheel
uses: pypa/cibuildwheel@v2.12.3
uses: pypa/cibuildwheel@v2
env:
# Python 2.7 on Windows requires a workaround for C++11 support,
# built separately below
Expand All @@ -69,7 +69,7 @@ jobs:
shell: bash

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

Expand All @@ -82,12 +82,12 @@ jobs:
steps:
- uses: actions/setup-python@v4

- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: artifact
path: dist

- uses: pypa/gh-action-pypi-publish@v1.8.5
- uses: pypa/gh-action-pypi-publish@v1
with:
user: __token__
password: ${{ secrets.PYPI_API_TOKEN }}
Expand Down

0 comments on commit 6e9e2f9

Please sign in to comment.