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
2 changes: 1 addition & 1 deletion .copier-answers.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Changes here will be overwritten by Copier
_commit: b2cdb6d
_commit: a63c624
_src_path: https://github.com/python-project-templates/base.git
add_docs: true
add_extension: cppjswasm
Expand Down
17 changes: 7 additions & 10 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
python-version: ["3.11"]
cibuildwheel: ["cp311"]
node-version: [22.x]

steps:
- name: Checkout
Expand All @@ -43,12 +40,12 @@ jobs:
- name: Setup Python
uses: actions-ext/python/setup@6e1b91a408ea89f49bc8aff8724f83826f7b5446
with:
version: ${{ matrix.python-version }}
version: "3.11"

- name: Setup Node.js
uses: actions-ext/node/setup@0ea5bdcd24d2488b28e16bf611b446a2f8e1e12f
with:
version: ${{ matrix.node-version }}
version: 22.x

- name: Setup C++
uses: actions-ext/cpp/setup@c2b1e90366b3a1c628a1df0748135f5e345ab26f
Expand All @@ -73,7 +70,7 @@ jobs:
- name: Upload test results (Python)
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: test-results-${{ matrix.os }}-${{ matrix.python-version }}
name: test-results-${{ matrix.os }}
path: junit.xml
if: matrix.os == 'ubuntu-latest'

Expand All @@ -98,7 +95,7 @@ jobs:
make dist-py-wheel
make dist-check
env:
CIBW_BUILD: "${{ matrix.cibuildwheel }}-manylinux*"
CIBW_BUILD: "cp311-manylinux*"
CIBW_BUILD_VERBOSITY: 3
if: matrix.os == 'ubuntu-latest'

Expand All @@ -107,7 +104,7 @@ jobs:
rm -rf dist
make dist-py-wheel
env:
CIBW_BUILD: "${{ matrix.cibuildwheel }}-macos*"
CIBW_BUILD: "cp311-macos*"
CIBW_BUILD_VERBOSITY: 3
if: matrix.os == 'macos-latest'

Expand All @@ -116,7 +113,7 @@ jobs:
if (Test-Path dist) { Remove-Item dist -Recurse -Force }
make dist-py-wheel
env:
CIBW_BUILD: "${{ matrix.cibuildwheel }}-win_amd64"
CIBW_BUILD: "cp311-win_amd64"
if: matrix.os == 'windows-latest'

- name: Test wheel
Expand All @@ -134,5 +131,5 @@ jobs:
- name: Upload distributions
uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
with:
name: dist-${{matrix.os}}-${{matrix.python-version}}
name: dist-${{ matrix.os }}
path: dist
18 changes: 0 additions & 18 deletions .github/workflows/copier.yaml

This file was deleted.

8 changes: 4 additions & 4 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ permissions:
jobs:
docs:
runs-on: ubuntu-latest
if: ${{ github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch' }}
if: github.event.workflow_run.conclusion == 'success' || github.event_name == 'workflow_dispatch'
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
Expand All @@ -27,7 +27,7 @@ jobs:
- name: Download distributions
uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8
with:
pattern: dist-ubuntu-latest-3.11
pattern: dist-ubuntu-latest
merge-multiple: true
path: dist
run-id: ${{ github.event.workflow_run.id }}
Expand All @@ -39,14 +39,14 @@ jobs:
run: |
uv pip install dist/*.whl
uv pip install dist/*.whl --target . --no-deps
uv pip install yardang
uv pip install "yardang[llms,themes]"
if: github.event_name == 'workflow_run'

- name: Install from source (manual trigger)
run: |
make develop
uv pip install .
uv pip install yardang
uv pip install "yardang[llms,themes]"
if: github.event_name == 'workflow_dispatch'

- name: Build documentation
Expand Down
Loading