-
Notifications
You must be signed in to change notification settings - Fork 85
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into agoose77/ci-test-downstream
- Loading branch information
Showing
247 changed files
with
9,412 additions
and
6,678 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -91,7 +91,7 @@ jobs: | |
- name: Prepare build files | ||
run: pipx run nox -s prepare | ||
|
||
- uses: pypa/cibuildwheel@v2.12.1 | ||
- uses: pypa/cibuildwheel@v2.13.1 | ||
env: | ||
CIBW_BUILD: ${{ matrix.build }} | ||
CIBW_ARCHS: ${{ matrix.arch }} | ||
|
@@ -138,9 +138,9 @@ jobs: | |
- name: Prepare build files | ||
run: pipx run nox -s prepare | ||
|
||
- uses: docker/setup-qemu-action@v2.1.0 | ||
- uses: docker/setup-qemu-action@v2.2.0 | ||
|
||
- uses: pypa/cibuildwheel@v2.12.1 | ||
- uses: pypa/cibuildwheel@v2.13.1 | ||
env: | ||
CIBW_BUILD: cp${{ matrix.python }}-* | ||
CIBW_ARCHS: ${{ matrix.arch }} | ||
|
@@ -166,12 +166,14 @@ jobs: | |
needs: [build_wheels, build_alt_wheels, make_sdist] | ||
runs-on: ubuntu-latest | ||
if: inputs.publish-pypi | ||
permissions: | ||
id-token: write | ||
environment: | ||
name: "deploy-cpp-pypi" | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: artifact | ||
path: dist | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
password: ${{ secrets.PYPI_PASSWORD_CPP }} | ||
- uses: pypa/[email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -102,15 +102,17 @@ jobs: | |
needs: [build, check-requirements, check-cpp-on-pypi] | ||
runs-on: ubuntu-latest | ||
if: (github.event_name == 'release' && github.event.action == 'published') || inputs.publish-pypi | ||
permissions: | ||
id-token: write | ||
environment: | ||
name: "deploy-pypi" | ||
steps: | ||
- uses: actions/download-artifact@v3 | ||
with: | ||
name: distributions | ||
path: dist | ||
|
||
- uses: pypa/[email protected] | ||
with: | ||
password: ${{ secrets.PYPI_PASSWORD }} | ||
- uses: pypa/[email protected] | ||
|
||
publish-headers: | ||
name: "Publish header-only libraries alongside release" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
name: Sync Docs Selector | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
paths: | ||
- docs/switcher.json | ||
|
||
concurrency: | ||
group: 'docs-version-${{ github.head_ref || github.run_id }}' | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
coverage: | ||
runs-on: ubuntu-20.04 | ||
name: Push version switcher | ||
permissions: | ||
id-token: write | ||
contents: read | ||
env: | ||
S3_BUCKET: "awkward-array.org" | ||
CLOUDFRONT_ID: "EFM4QVENUIXHS" | ||
environment: | ||
name: docs-prod | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Configure AWS credentials | ||
uses: aws-actions/configure-aws-credentials@v2 | ||
with: | ||
aws-region: eu-west-2 | ||
role-to-assume: ${{ secrets.AWS_DEPLOY_ROLE }} | ||
# Pushes to main trigger latest | ||
- name: Push version selector | ||
run: | | ||
aws s3 cp docs/switcher.json "s3://${S3_BUCKET}/doc/switcher.json" | ||
aws cloudfront create-invalidation --distribution-id "${CLOUDFRONT_ID}" \ | ||
--paths "/doc/switcher.json" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.