Skip to content

Commit

Permalink
checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt M committed Sep 17, 2024
1 parent 2748c82 commit b4ca457
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 2 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ jobs:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
- name: Setup Node.js
uses: actions/setup-node@v4
with:
Expand All @@ -46,6 +48,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Fetch tags
run: git fetch --tags --force
- name: Install RoboRIO Toolchain
Expand Down Expand Up @@ -82,6 +85,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Fetch tags
run: git fetch --tags --force
- name: Install Java 17
Expand Down Expand Up @@ -115,6 +119,7 @@ jobs:
- uses: actions/setup-python@v5
with:
python-version: '3.11'
submodules: 'recursive'
- name: Install dependencies
working-directory: docs
run: |
Expand Down Expand Up @@ -151,6 +156,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Install Java 17
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -195,6 +201,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Config Git
run: |
git config --global --add safe.directory /__w/photonvision/photonvision
Expand Down Expand Up @@ -225,6 +232,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- run: git fetch --tags --force
# download all maven-* artifacts to outputs/
- uses: actions/download-artifact@v4
Expand Down Expand Up @@ -277,6 +285,7 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- name: Install Java 17
uses: actions/setup-java@v4
with:
Expand Down Expand Up @@ -448,6 +457,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'
- uses: actions/download-artifact@v4
with:
name: jar-${{ matrix.artifact-name }}
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
uses: actions/checkout@v4
with:
fetch-depth: 0
submodules: 'recursive'

- name: Set up Python
uses: actions/setup-python@v5
Expand Down Expand Up @@ -101,6 +102,7 @@ jobs:
os:
- container: wpilib/roborio-cross-ubuntu:2024-22.04-py312
name: roborio
arch-override: linuxathena

# - container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py38
# name: raspbian-py38
Expand All @@ -112,13 +114,15 @@ jobs:
# name: raspbian-py311
- container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py312
name: raspbian-py312
arch-override: linuxarm64

# - container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py38
# name: raspbian-aarch64-py38
# - container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py39
# name: raspbian-aarch64-py39
- container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py310
name: raspbian-aarch64-py310
arch-override: linuxarm64
# - container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py311
# name: raspbian-aarch64-py311
# - container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py312
Expand All @@ -130,6 +134,7 @@ jobs:
steps:
- uses: actions/checkout@v4
with:
submodules: 'recursive'
fetch-depth: 0

- name: Install Java 17
Expand Down Expand Up @@ -160,8 +165,8 @@ jobs:
- run: git fetch --tags --force
- run: |
chmod +x gradlew
./gradlew photon-targeting:build photon-lib:build -i -PpythonExecutable=/build/venv/bin/cross-python
./gradlew photon-lib:installPhotonlibpyNative -PpythonExecutable=/build/venv/bin/cross-python
./gradlew photon-targeting:build photon-lib:build -i -PpythonExecutable=/build/venv/bin/cross-python -PArchOverride=${{ matrix.arch-override }}
./gradlew photon-lib:installPhotonlibpyNative -PpythonExecutable=/build/venv/bin/cross-python -PArchOverride=${{ matrix.arch-override }}
- name: Build wheel
working-directory: ./photon-lib/py
Expand Down

0 comments on commit b4ca457

Please sign in to comment.