|
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: rclcpp |
| 4 | + runs-on: macos-15-intel |
| 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_ROLLING }} |
| 23 | + CURRENT_RECIPES: ros2-rclcpp ros-rolling-rclcpp |
| 24 | + BUILD_TARGET: osx-64 |
| 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/rolling/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: pymoveit2 |
| 44 | + runs-on: macos-15-intel |
| 45 | + strategy: |
| 46 | + fail-fast: false |
| 47 | + steps: |
| 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_ROLLING }} |
| 63 | + CURRENT_RECIPES: ros2-pymoveit2 |
| 64 | + BUILD_TARGET: osx-64 |
| 65 | + run: | |
| 66 | + export CI=github |
| 67 | + export GIT_BRANCH=${GITHUB_REF_NAME} |
| 68 | + export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/} |
| 69 | + .scripts/build_unix.sh --target $BUILD_TARGET |
| 70 | + - name: Keep build_timings.jsonl |
| 71 | + if: always() |
| 72 | + uses: actions/upload-artifact@v6 |
| 73 | + with: |
| 74 | + name: ${{ github.job }}-${{ github.run_attempt }} |
| 75 | + path: distros/rolling/work/build_timings.jsonl |
| 76 | + if-no-files-found: ignore |
| 77 | + retention-days: 30 |
| 78 | + permissions: |
| 79 | + id-token: write |
| 80 | + contents: read |
| 81 | + attestations: write |
| 82 | + stage_0_job_2: |
| 83 | + name: gz-dartsim-vendor tf2-bullet |
| 84 | + runs-on: macos-15-intel |
| 85 | + strategy: |
| 86 | + fail-fast: false |
15 | 87 | steps: |
16 | | - - run: echo "Builds run from the buildbranch_<distro>_<platform> branches' own build.yaml." |
| 88 | + - name: Checkout code |
| 89 | + uses: actions/checkout@v7 |
| 90 | + - name: Disable git auto-maintenance |
| 91 | + run: git config --global maintenance.auto false && git config --global gc.auto |
| 92 | + 0 |
| 93 | + - name: Setup pixi |
| 94 | + uses: prefix-dev/setup-pixi@v0.11.0 |
| 95 | + with: |
| 96 | + pixi-version: v0.81.0 |
| 97 | + cache: 'true' |
| 98 | + log-level: v |
| 99 | + frozen: 'true' |
| 100 | + - name: Build |
| 101 | + env: |
| 102 | + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN_ROLLING }} |
| 103 | + CURRENT_RECIPES: ros2-gz-dartsim-vendor ros2-tf2-bullet |
| 104 | + BUILD_TARGET: osx-64 |
| 105 | + run: | |
| 106 | + export CI=github |
| 107 | + export GIT_BRANCH=${GITHUB_REF_NAME} |
| 108 | + export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/} |
| 109 | + .scripts/build_unix.sh --target $BUILD_TARGET |
| 110 | + - name: Keep build_timings.jsonl |
| 111 | + if: always() |
| 112 | + uses: actions/upload-artifact@v6 |
| 113 | + with: |
| 114 | + name: ${{ github.job }}-${{ github.run_attempt }} |
| 115 | + path: distros/rolling/work/build_timings.jsonl |
| 116 | + if-no-files-found: ignore |
| 117 | + retention-days: 30 |
| 118 | + permissions: |
| 119 | + id-token: write |
| 120 | + contents: read |
| 121 | + attestations: write |
| 122 | + stage_1_job_3: |
| 123 | + name: ros-gz-image |
| 124 | + runs-on: macos-15-intel |
| 125 | + strategy: |
| 126 | + fail-fast: false |
| 127 | + needs: |
| 128 | + - stage_0_job_0 |
| 129 | + - stage_0_job_1 |
| 130 | + - stage_0_job_2 |
| 131 | + steps: |
| 132 | + - name: Checkout code |
| 133 | + uses: actions/checkout@v7 |
| 134 | + - name: Disable git auto-maintenance |
| 135 | + run: git config --global maintenance.auto false && git config --global gc.auto |
| 136 | + 0 |
| 137 | + - name: Setup pixi |
| 138 | + uses: prefix-dev/setup-pixi@v0.11.0 |
| 139 | + with: |
| 140 | + pixi-version: v0.81.0 |
| 141 | + cache: 'true' |
| 142 | + log-level: v |
| 143 | + frozen: 'true' |
| 144 | + - name: Build |
| 145 | + env: |
| 146 | + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN_ROLLING }} |
| 147 | + CURRENT_RECIPES: ros2-ros-gz-image |
| 148 | + BUILD_TARGET: osx-64 |
| 149 | + run: | |
| 150 | + export CI=github |
| 151 | + export GIT_BRANCH=${GITHUB_REF_NAME} |
| 152 | + export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/} |
| 153 | + .scripts/build_unix.sh --target $BUILD_TARGET |
| 154 | + - name: Keep build_timings.jsonl |
| 155 | + if: always() |
| 156 | + uses: actions/upload-artifact@v6 |
| 157 | + with: |
| 158 | + name: ${{ github.job }}-${{ github.run_attempt }} |
| 159 | + path: distros/rolling/work/build_timings.jsonl |
| 160 | + if-no-files-found: ignore |
| 161 | + retention-days: 30 |
| 162 | + permissions: |
| 163 | + id-token: write |
| 164 | + contents: read |
| 165 | + attestations: write |
| 166 | + stage_1_job_4: |
| 167 | + name: gz-physics-vendor |
| 168 | + runs-on: macos-15-intel |
| 169 | + strategy: |
| 170 | + fail-fast: false |
| 171 | + needs: |
| 172 | + - stage_0_job_0 |
| 173 | + - stage_0_job_1 |
| 174 | + - stage_0_job_2 |
| 175 | + steps: |
| 176 | + - name: Checkout code |
| 177 | + uses: actions/checkout@v7 |
| 178 | + - name: Disable git auto-maintenance |
| 179 | + run: git config --global maintenance.auto false && git config --global gc.auto |
| 180 | + 0 |
| 181 | + - name: Setup pixi |
| 182 | + uses: prefix-dev/setup-pixi@v0.11.0 |
| 183 | + with: |
| 184 | + pixi-version: v0.81.0 |
| 185 | + cache: 'true' |
| 186 | + log-level: v |
| 187 | + frozen: 'true' |
| 188 | + - name: Build |
| 189 | + env: |
| 190 | + ANACONDA_API_TOKEN: ${{ secrets.ANACONDA_API_TOKEN_ROLLING }} |
| 191 | + CURRENT_RECIPES: ros2-gz-physics-vendor ros-rolling-gz-physics-vendor |
| 192 | + BUILD_TARGET: osx-64 |
| 193 | + run: | |
| 194 | + export CI=github |
| 195 | + export GIT_BRANCH=${GITHUB_REF_NAME} |
| 196 | + export FEEDSTOCK_NAME=${GITHUB_REPOSITORY##*/} |
| 197 | + .scripts/build_unix.sh --target $BUILD_TARGET |
| 198 | + - name: Keep build_timings.jsonl |
| 199 | + if: always() |
| 200 | + uses: actions/upload-artifact@v6 |
| 201 | + with: |
| 202 | + name: ${{ github.job }}-${{ github.run_attempt }} |
| 203 | + path: distros/rolling/work/build_timings.jsonl |
| 204 | + if-no-files-found: ignore |
| 205 | + retention-days: 30 |
| 206 | + permissions: |
| 207 | + id-token: write |
| 208 | + contents: read |
| 209 | + attestations: write |
| 210 | +name: build |
| 211 | +run-name: rolling osx-64 |
| 212 | +concurrency: |
| 213 | + group: build-rolling-osx-64 |
| 214 | + cancel-in-progress: true |
| 215 | +on: |
| 216 | + push: |
| 217 | + branches: |
| 218 | + - buildbranch_rolling_osx_64 |
| 219 | +env: |
| 220 | + ROBOSTACK_DISTRO: rolling |
| 221 | + # optional repository variable: upload to this prefix.dev channel instead |
| 222 | + # (e.g. a test channel), or 'none' to only build |
| 223 | + ROBOSTACK_UPLOAD_CHANNEL: ${{ vars.ROBOSTACK_UPLOAD_CHANNEL }} |
0 commit comments