-
Notifications
You must be signed in to change notification settings - Fork 181
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into core/msg-protobuf-server-v6
- Loading branch information
Showing
274 changed files
with
5,559 additions
and
3,263 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest, windows-latest] | ||
os: [ubuntu-latest, windows-latest, ubuntu-24.04-arm] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
@@ -27,40 +27,11 @@ jobs: | |
fetch-depth: 0 | ||
|
||
- name: Build wheels | ||
uses: pypa/cibuildwheel@v2.21 | ||
uses: pypa/cibuildwheel@v2.22 | ||
env: | ||
CIBW_ARCHS: auto64 | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-${{ matrix.os }}-${{ strategy.job-index }} | ||
path: ./wheelhouse/*.whl | ||
|
||
build_arm64_wheels: | ||
# Emulation takes a long time so we save it for release/manual triggering | ||
name: Build arm64 wheels via emulation | ||
runs-on: ubuntu-latest | ||
if: ${{ github.event_name != 'pull_request' }} | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: 'true' | ||
fetch-depth: 0 | ||
|
||
- name: Set up QEMU | ||
if: runner.os == 'Linux' | ||
uses: docker/setup-qemu-action@v3 | ||
with: | ||
platforms: arm64 | ||
|
||
- name: Build wheels | ||
uses: pypa/[email protected] | ||
env: | ||
CIBW_ARCHS_LINUX: aarch64 | ||
|
||
- uses: actions/upload-artifact@v4 | ||
with: | ||
name: cibw-wheels-arm64 | ||
path: ./wheelhouse/*.whl | ||
|
||
path: ./wheelhouse/*.whl |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
name: Documentation Release Page | ||
|
||
on: | ||
push: | ||
|
||
release: | ||
types: | ||
- released | ||
- unpublished | ||
- deleted | ||
|
||
jobs: | ||
documentation-release-page: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
|
||
- name: Get current branch name | ||
id: branch | ||
run: | | ||
# Get the branch name | ||
branch=$(echo ${GITHUB_REF#refs/heads/}) | ||
# only publish documentation for master branch | ||
if [[ $branch == master ]]; then | ||
echo "publish_doc=true" >> $GITHUB_ENV | ||
else | ||
echo "publish_doc=false" >> $GITHUB_ENV | ||
fi | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: 'false' | ||
fetch-depth: 0 | ||
|
||
|
||
- name: Install Python | ||
run: | | ||
sudo apt update | ||
sudo apt-get -y install python3-dev python3-venv | ||
- name: Install Python dependencies | ||
run: | | ||
mkdir ".venv" | ||
python3 -m venv ".venv" | ||
source ".venv/bin/activate" | ||
pip install --upgrade pip | ||
pip install -r "$GITHUB_WORKSPACE/doc/requirements.txt" | ||
- name: Build Release page with Sphinx | ||
env: | ||
ECAL_GH_API_KEY: ${{ secrets.GITHUB_TOKEN }} | ||
run: | | ||
source ".venv/bin/activate" | ||
sphinx-build -b html doc/release_page build/html | ||
- name: Zip Release Page | ||
run: | | ||
cd build/html | ||
zip -r ../release-page.zip . | ||
- name: Upload documentation | ||
uses: actions/upload-artifact@v4 | ||
with: | ||
name: release-page | ||
path: build/release-page.zip | ||
|
||
- name: Deploy Release Page | ||
uses: peaceiris/actions-gh-pages@v3 | ||
with: | ||
publish_branch: gh-pages | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: build/html | ||
destination_dir: releases | ||
if: env.publish_doc == 'true' | ||
|
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.