Skip to content

Commit

Permalink
ugh
Browse files Browse the repository at this point in the history
  • Loading branch information
mcm001 committed Sep 17, 2024
1 parent 2268cfb commit df72f61
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
# max-parallel: 1
# fail-fast: true
fail-fast: false
matrix:
os: ["ubuntu-22.04", "macos-12", "windows-2022"]
python_version:
Expand Down Expand Up @@ -98,11 +98,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
# max-parallel: 1
fail-fast: false
matrix:
os:
- container: wpilib/roborio-cross-ubuntu:2024-22.04-py312
name: roborio
arch-override: linuxathena
build-options: "-Ponlylinuxathena"

# - container: wpilib/raspbian-cross-ubuntu:bullseye-22.04-py38
Expand All @@ -123,7 +123,6 @@ jobs:
# name: raspbian-aarch64-py39
- container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py310
name: raspbian-aarch64-py310
arch-override: linuxarm64
build-options: "-Ponlylinuxarm64"
# - container: wpilib/aarch64-cross-ubuntu:bullseye-22.04-py311
# name: raspbian-aarch64-py311
Expand Down Expand Up @@ -165,14 +164,15 @@ jobs:
/build/venv/bin/cross-pip --disable-pip-version-check install -r photon-lib/py/build_requirements.txt
- run: git fetch --tags --force

# - name: Install RoboRIO Toolchain
# run: ./gradlew installRoboRioToolchain -PpythonExecutable=/build/venv/bin/cross-python
# if: matrix.os.name == 'roborio'
- run: ./gradlew photon-lib:tasks
- name: Install RoboRIO Toolchain
run: ./gradlew installRoboRioToolchain -PpythonExecutable=/build/venv/bin/cross-python
if: matrix.os.name == 'roborio'
- run: ./gradlew photon-lib:tasks

- run: |
chmod +x gradlew
./gradlew photon-lib:installPhotonlibpyNative -PpythonExecutable=/build/venv/bin/cross-python -PArchOverride=${{ matrix.os.arch-override }} ${{ matrix.os.build-options }}
./gradlew photon-lib:installPhotonlibpyNative -PpythonExecutable=/build/venv/bin/cross-python ${{ matrix.os.build-options }}
- name: Build wheel
working-directory: ./photon-lib/py
Expand Down

0 comments on commit df72f61

Please sign in to comment.