Skip to content

Commit

Permalink
Update workflows after pyslang merge
Browse files Browse the repository at this point in the history
  • Loading branch information
MikePopoloski committed Jan 18, 2025
1 parent fa13ed2 commit 5210207
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 21 deletions.
14 changes: 0 additions & 14 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,20 +83,6 @@ jobs:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true

bindings:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: ilammy/msvc-dev-cmd@v1
- name: Configure
run: cmake -B build -DSLANG_INCLUDE_PYLIB=ON
- name: Build
run: cmake --build build --config Release -j8
- name: Run tests
run: ctest --test-dir build --output-on-failure -C Release --no-tests=error -j8

conan:
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 0 additions & 2 deletions .github/workflows/python-build.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
name: "Python Build"

on:
workflow_dispatch:
pull_request:
push:
branches:
Expand All @@ -20,7 +19,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: maxim-lobanov/setup-xcode@v1
if: matrix.platform == 'macos-latest'
with:
Expand Down
12 changes: 7 additions & 5 deletions .github/workflows/python-dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- name: Build SDist
run: pipx run build --sdist
- name: Check metadata
Expand All @@ -37,12 +36,11 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: recursive
- uses: maxim-lobanov/setup-xcode@v1
if: matrix.os == 'macos-latest'
with:
xcode-version: 'latest'
- uses: pypa/cibuildwheel@v2.21.3
- uses: pypa/cibuildwheel@v2.22.0
env:
CIBW_ARCHS_MACOS: auto universal2
MACOSX_DEPLOYMENT_TARGET: "10.15"
Expand All @@ -58,6 +56,9 @@ jobs:
name: Upload test
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi-test
permissions:
id-token: write
if: startsWith(github.ref, 'refs/tags')
steps:
- uses: actions/setup-python@v5
Expand All @@ -70,7 +71,6 @@ jobs:
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.TEST_PYPI_API_TOKEN }}
repository-url: https://test.pypi.org/legacy/
verbose: true
skip_existing: true
Expand All @@ -79,6 +79,9 @@ jobs:
name: Upload official
needs: [build_wheels, build_sdist]
runs-on: ubuntu-latest
environment: pypi
permissions:
id-token: write
if: (github.event_name == 'release' && github.event.action == 'published') || github.event_name == 'workflow_dispatch'
steps:
- uses: actions/setup-python@v5
Expand All @@ -91,5 +94,4 @@ jobs:
merge-multiple: true
- uses: pypa/gh-action-pypi-publish@release/v1
with:
password: ${{ secrets.PYPI_API_TOKEN }}
verbose: true

0 comments on commit 5210207

Please sign in to comment.