|
1 | | -# Placeholder, so that GitHub names this workflow path "build" in the Actions list. |
2 | | -# |
3 | | -# The real build.yaml lives on the buildbranch_<distro>_<platform> branches (pushed by |
4 | | -# main.yaml, generated by `rs <distro> gha`); every branch has its own, with |
5 | | -# `run-name: <distro> <platform>`. GitHub shows one workflow per path and takes its name |
6 | | -# from the default branch's file; without one on main it kept the name of the first |
7 | | -# branch that registered the path. This file is never triggered on its own. |
8 | | -name: build |
9 | | -on: |
10 | | - workflow_dispatch: |
11 | 1 | jobs: |
12 | | - placeholder: |
13 | | - runs-on: ubuntu-latest |
14 | | - permissions: {} |
| 2 | + stage_0_job_0: |
| 3 | + name: moveit-core |
| 4 | + runs-on: ubuntu-24.04-arm |
| 5 | + strategy: |
| 6 | + fail-fast: false |
| 7 | + steps: |
| 8 | + - name: Checkout code |
| 9 | + uses: actions/checkout@v7 |
| 10 | + - name: Disable git auto-maintenance |
| 11 | + run: git config --global maintenance.auto false && git config --global gc.auto |
| 12 | + 0 |
| 13 | + - name: Setup pixi |
| 14 | + uses: prefix-dev/setup-pixi@v0.11.0 |
| 15 | + with: |
| 16 | + pixi-version: v0.81.0 |
| 17 | + cache: 'true' |
| 18 | + log-level: v |
| 19 | + frozen: 'true' |
| 20 | + - name: Build |
| 21 | + env: |
| 22 | + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN_LYRICAL }} |
| 23 | + CURRENT_RECIPES: ros2-moveit-core |
| 24 | + BUILD_TARGET: linux-aarch64 |
| 25 | + run: | |
| 26 | + export CI=github |
| 27 | + export GIT_BRANCH=${GITHUB_REF_NAME} |
| 28 | + export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/} |
| 29 | + .scripts/build_unix.sh --target $BUILD_TARGET |
| 30 | + - name: Keep build_timings.jsonl |
| 31 | + if: always() |
| 32 | + uses: actions/upload-artifact@v6 |
| 33 | + with: |
| 34 | + name: ${{ github.job }}-${{ github.run_attempt }} |
| 35 | + path: distros/lyrical/work/build_timings.jsonl |
| 36 | + if-no-files-found: ignore |
| 37 | + retention-days: 30 |
| 38 | + permissions: |
| 39 | + id-token: write |
| 40 | + contents: read |
| 41 | + attestations: write |
| 42 | + stage_0_job_1: |
| 43 | + name: gz-dartsim-vendor ros-gz-bridge tf2-bullet |
| 44 | + runs-on: ubuntu-24.04-arm |
| 45 | + strategy: |
| 46 | + fail-fast: false |
15 | 47 | steps: |
16 | | - - run: echo "Builds run from the buildbranch_<distro>_<platform> branches' own build.yaml." |
| 48 | + - name: Checkout code |
| 49 | + uses: actions/checkout@v7 |
| 50 | + - name: Disable git auto-maintenance |
| 51 | + run: git config --global maintenance.auto false && git config --global gc.auto |
| 52 | + 0 |
| 53 | + - name: Setup pixi |
| 54 | + uses: prefix-dev/setup-pixi@v0.11.0 |
| 55 | + with: |
| 56 | + pixi-version: v0.81.0 |
| 57 | + cache: 'true' |
| 58 | + log-level: v |
| 59 | + frozen: 'true' |
| 60 | + - name: Build |
| 61 | + env: |
| 62 | + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN_LYRICAL }} |
| 63 | + CURRENT_RECIPES: ros2-gz-dartsim-vendor ros2-ros-gz-bridge ros2-tf2-bullet |
| 64 | + ros-lyrical-tf2-bullet |
| 65 | + BUILD_TARGET: linux-aarch64 |
| 66 | + run: | |
| 67 | + export CI=github |
| 68 | + export GIT_BRANCH=${GITHUB_REF_NAME} |
| 69 | + export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/} |
| 70 | + .scripts/build_unix.sh --target $BUILD_TARGET |
| 71 | + - name: Keep build_timings.jsonl |
| 72 | + if: always() |
| 73 | + uses: actions/upload-artifact@v6 |
| 74 | + with: |
| 75 | + name: ${{ github.job }}-${{ github.run_attempt }} |
| 76 | + path: distros/lyrical/work/build_timings.jsonl |
| 77 | + if-no-files-found: ignore |
| 78 | + retention-days: 30 |
| 79 | + permissions: |
| 80 | + id-token: write |
| 81 | + contents: read |
| 82 | + attestations: write |
| 83 | + stage_1_job_2: |
| 84 | + name: gz-physics-vendor ros-gz-image |
| 85 | + runs-on: ubuntu-24.04-arm |
| 86 | + strategy: |
| 87 | + fail-fast: false |
| 88 | + needs: |
| 89 | + - stage_0_job_0 |
| 90 | + - stage_0_job_1 |
| 91 | + steps: |
| 92 | + - name: Checkout code |
| 93 | + uses: actions/checkout@v7 |
| 94 | + - name: Disable git auto-maintenance |
| 95 | + run: git config --global maintenance.auto false && git config --global gc.auto |
| 96 | + 0 |
| 97 | + - name: Setup pixi |
| 98 | + uses: prefix-dev/setup-pixi@v0.11.0 |
| 99 | + with: |
| 100 | + pixi-version: v0.81.0 |
| 101 | + cache: 'true' |
| 102 | + log-level: v |
| 103 | + frozen: 'true' |
| 104 | + - name: Build |
| 105 | + env: |
| 106 | + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN_LYRICAL }} |
| 107 | + CURRENT_RECIPES: ros2-gz-physics-vendor ros-lyrical-gz-physics-vendor ros2-ros-gz-image |
| 108 | + BUILD_TARGET: linux-aarch64 |
| 109 | + run: | |
| 110 | + export CI=github |
| 111 | + export GIT_BRANCH=${GITHUB_REF_NAME} |
| 112 | + export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/} |
| 113 | + .scripts/build_unix.sh --target $BUILD_TARGET |
| 114 | + - name: Keep build_timings.jsonl |
| 115 | + if: always() |
| 116 | + uses: actions/upload-artifact@v6 |
| 117 | + with: |
| 118 | + name: ${{ github.job }}-${{ github.run_attempt }} |
| 119 | + path: distros/lyrical/work/build_timings.jsonl |
| 120 | + if-no-files-found: ignore |
| 121 | + retention-days: 30 |
| 122 | + permissions: |
| 123 | + id-token: write |
| 124 | + contents: read |
| 125 | + attestations: write |
| 126 | +name: build |
| 127 | +run-name: lyrical linux-aarch64 |
| 128 | +concurrency: |
| 129 | + group: build-lyrical-linux-aarch64 |
| 130 | + cancel-in-progress: true |
| 131 | +on: |
| 132 | + push: |
| 133 | + branches: |
| 134 | + - buildbranch_lyrical_linux_aarch64 |
| 135 | +env: |
| 136 | + ROBOSTACK_DISTRO: lyrical |
| 137 | + # optional repository variable: upload to this prefix.dev channel instead |
| 138 | + # (e.g. a test channel), or 'none' to only build |
| 139 | + ROBOSTACK_UPLOAD_CHANNEL: ${{ vars.ROBOSTACK_UPLOAD_CHANNEL }} |
0 commit comments