Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
138 commits
Select commit Hold shift + click to select a range
00e9af3
Update conda_build_config.yaml based on ros-kilted one
traversaro Jul 4, 2025
69ae462
Refresh rosdistro_snapshot.yaml
traversaro Jul 4, 2025
f73d1ae
Bump mutex package to 0.7.0 and build_number to 13
traversaro Jul 4, 2025
eb1cc07
Consolidate vinca files in a single vinca.yaml
traversaro Jul 4, 2025
ca2be6b
Get rid of all additional recipes
traversaro Jul 4, 2025
48f0d5d
Get rid of useless beta environment in pixi.toml and just used default
traversaro Jul 4, 2025
76240c5
Remove used of beta env in testpr.yml
traversaro Jul 4, 2025
a4cdd7e
Remove unneded patches and cleanup handling of vendor packages
traversaro Jul 4, 2025
cb09256
Support rev in rosdistro_additional_recipes to support wasm-related r…
traversaro Jul 5, 2025
2b7bb62
Unvendor librealsense2 and updates patches
traversaro Jul 5, 2025
534088c
Skip tests on emscripten-wasm32
traversaro Jul 5, 2025
e2d25f7
Cleanup patches
traversaro Jul 5, 2025
2c2e1d2
cleanup patches
wep21 Jul 6, 2025
a9a3633
update patch
wep21 Jul 6, 2025
7c01c61
update patch deps
wep21 Jul 6, 2025
cd8077c
Merge pull request #1 from wep21/fullrebuild202507
traversaro Jul 6, 2025
cebef50
Update dependencies.yaml
traversaro Jul 6, 2025
abade35
override octomap version
wep21 Jul 6, 2025
93d189c
update win patch
wep21 Jul 6, 2025
018ad6a
Add caching to testpr jobs to simplify full rebuild and sync
traversaro Jul 6, 2025
6d050c6
g2o only depend on qt-main not qt
traversaro Jul 6, 2025
09bcd47
Remvoe cartographer from robostack.yaml
traversaro Jul 6, 2025
b9e2c30
Use eigenpy version compatible with pinocchio and coal
traversaro Jul 6, 2025
057f92a
Bump vinca version
traversaro Jul 6, 2025
ce491a5
Create ros-humble-kinematics-interface.patch
traversaro Jul 6, 2025
c9ded63
Override cartographer version
traversaro Jul 6, 2025
9374e56
Fix macos backward failure
traversaro Jul 6, 2025
7a0b2bd
More unvendor
traversaro Jul 6, 2025
419ee25
Fix cartographer_ros
traversaro Jul 6, 2025
d41551d
Create ros-humble-gripper-controllers.patch
traversaro Jul 6, 2025
8a803c5
Restore gripper_controllers patch
traversaro Jul 6, 2025
8ed9c94
Restore useful patches on Windows
traversaro Jul 6, 2025
9627697
Fix patch
traversaro Jul 6, 2025
383c1bd
Update qt-gui-cpp patch
traversaro Jul 6, 2025
0b4f4bf
Remode upstreamed patch in control_toolbox
traversaro Jul 6, 2025
fb62b2d
Actually save cache in testpr.yml
traversaro Jul 7, 2025
976543c
Skip some packages and give priority to conda-forge to avoid draco fr…
traversaro Jul 7, 2025
d2324c3
Create ros-humble-grid-map-cmake-helpers.patch
traversaro Jul 7, 2025
541fe61
Update pkg_additional_info.yaml
traversaro Jul 7, 2025
ef887d8
Only build event_camera_* packages on Linux
traversaro Jul 7, 2025
f7c4cbd
Skip not supported packages on macos and try to fix Windows cache
traversaro Jul 7, 2025
f0f0d0e
Only build webots on Linux and add print packages added in cache in t…
traversaro Jul 7, 2025
062051d
Create ros-humble-ffmpeg-image-transport.patch
traversaro Jul 7, 2025
2fe6c71
Create ros-humble-py-binding-tools.patch
traversaro Jul 7, 2025
4d3f032
Create ros-humble-py-binding-tools.win.patch
traversaro Jul 7, 2025
93e46e4
Restore cache as early as possible in testpr
traversaro Jul 7, 2025
1995b3f
Update testpr.yml
traversaro Jul 7, 2025
9d6ea67
Update testpr.yml
traversaro Jul 7, 2025
83b7029
Update testpr.yml
traversaro Jul 7, 2025
617e4b2
Update testpr.yml
traversaro Jul 7, 2025
cd7fa19
Only build point_cloud_transport_plugins on Linux for now
traversaro Jul 7, 2025
b135d19
Create ros-humble-autoware-utils-debug.patch
traversaro Jul 7, 2025
d18f65d
Update vinca.yaml
traversaro Jul 7, 2025
d4bc057
Add apriltag windows patches
traversaro Jul 7, 2025
b7ccefb
Fix builds on macos and win
traversaro Jul 7, 2025
6ce3727
Update dependencies.yaml
traversaro Jul 7, 2025
529315e
Update dependencies.yaml
traversaro Jul 7, 2025
a98a6e8
Update dependencies.yaml
traversaro Jul 7, 2025
2a4fa83
Fix autoware on Windows and remove Werror from foxglove video transport
traversaro Jul 8, 2025
86b1b6b
Patch moveit packages
traversaro Jul 8, 2025
9b45bea
Delete patch/ros-humble-moveit-ros-occupancy-map-monitor.patch
traversaro Jul 8, 2025
ef46501
Update vinca.yaml
traversaro Jul 8, 2025
40be242
Update vinca.yaml
traversaro Jul 8, 2025
c4b6901
Rebuild pcl_ros with Windows support
traversaro Jul 8, 2025
54e1c00
Fix cartographer_ros build
traversaro Jul 8, 2025
f9654f9
Update patch
traversaro Jul 8, 2025
e3edaed
Add tests for robot-state-publisher and skip cartographer_ros on Windows
traversaro Jul 8, 2025
9bcc528
Save cache as artifact
traversaro Jul 8, 2025
ea0fe74
Update ros-humble-robot-state-publisher.yaml
traversaro Jul 8, 2025
fdeee0c
Update ros-humble-robot-state-publisher.yaml
traversaro Jul 8, 2025
056a2f0
Update ros-humble-robot-state-publisher.yaml
traversaro Jul 8, 2025
0cc1573
Update testpr.yml
traversaro Jul 8, 2025
4107024
Update ros-humble-robot-state-publisher.yaml
traversaro Jul 8, 2025
d63412c
Fix tests for robot-state-publisher
traversaro Jul 8, 2025
7c1a5c1
Fix cartographer_ros on Windows
traversaro Jul 8, 2025
8a30302
Update ros-humble-diagnostic-updater.win.patch
traversaro Jul 8, 2025
c89180a
Update testpr.yml
traversaro Jul 8, 2025
1b69f02
Delete patch/ros-humble-diagnostic-updater.win.patch
traversaro Jul 8, 2025
cc8d18b
Fix ros-gz-bridge and review comments
traversaro Jul 9, 2025
fd1d19c
Update ros-humble-ros-gz-bridge.win.patch
traversaro Jul 9, 2025
d6c1c6e
Update ros-humble-ros-gz-bridge.win.patch
traversaro Jul 9, 2025
14d314a
Update ros-humble-ros-gz-bridge.win.patch
traversaro Jul 9, 2025
4a5b656
Update ros-humble-ros-gz-bridge.win.patch
traversaro Jul 9, 2025
6b404f5
Skip ros_gz on Windows on Humble
traversaro Jul 9, 2025
9148350
Update vinca.yaml
traversaro Jul 9, 2025
28713cd
Update ros-humble-foxglove-bridge.patch
Tobias-Fischer Jul 10, 2025
ccdd859
Update ros-humble-foxglove-bridge.patch
Tobias-Fischer Jul 10, 2025
578459f
Update ros-humble-foxglove-bridge.patch
Tobias-Fischer Jul 10, 2025
465ba3c
skip foxglove-bridge
Tobias-Fischer Jul 10, 2025
67bcdb8
Create ros-humble-octomap-rviz-plugins.patch
Tobias-Fischer Jul 11, 2025
1c24503
Delete patch/ros-humble-octomap-rviz-plugins.patch
Tobias-Fischer Jul 11, 2025
f0e2bcf
Switch default rmw on macOS to cyclonedds
traversaro Jul 16, 2025
d777f32
Fix windows build of octomap-rviz-plugins
traversaro Jul 16, 2025
a7d3e67
Fix rviz-default-plugins
traversaro Jul 16, 2025
f184f74
Fix octomap_ros on Windows
traversaro Jul 16, 2025
86c7818
Do not build grid_map on Windows
traversaro Jul 16, 2025
a4a8a68
Fix patch name for rmw-implementation-cmake
traversaro Jul 16, 2025
afe5b72
Fix CI
traversaro Jul 16, 2025
95e6bfa
Update robot_state_publisher_smoke_test_launch.py
traversaro Jul 16, 2025
65a0863
Add moveit packages requested on macos
traversaro Jul 16, 2025
1d3e0a3
Skip microstrain packages on Windows
traversaro Jul 16, 2025
1ffc38e
Do not build motion_capture_tracking on Windows
traversaro Jul 16, 2025
5e8fc30
Create ros-humble-moveit-setup-core-plugins.win.patch
traversaro Jul 16, 2025
7e54462
Update ros-humble-nav2-amcl.win.patch
traversaro Jul 16, 2025
dd73803
Add nav2 windows patches
traversaro Jul 16, 2025
91af93e
Remove incompatinle nav2 patches
traversaro Jul 16, 2025
20f90c9
Remove incompatinle nav2 patches
traversaro Jul 16, 2025
fc0e182
Update ros-humble-nav2-waypoint-follower.win.patch
traversaro Jul 17, 2025
4e13ae1
Update ros-humble-nav2-waypoint-follower.win.patch
traversaro Jul 17, 2025
9fe7f0c
Update ros-humble-nav2-waypoint-follower.win.patch
traversaro Jul 17, 2025
55a420c
Add win patch for slam toolbox
traversaro Jul 17, 2025
2f6353f
Add data_tamer_cpp to vinca.yaml
traversaro Jul 17, 2025
471b691
Fix windows data_tamer_cpp
traversaro Jul 17, 2025
be36dc7
Do not build slam_toolbox on Windows
traversaro Jul 17, 2025
6f8204c
Create ros-humble-data-tamer-cpp.patch
traversaro Jul 17, 2025
93ce503
Update ros-humble-data-tamer-cpp.patch
traversaro Jul 17, 2025
f757886
Update ros-humble-data-tamer-cpp.patch
traversaro Jul 17, 2025
4eed3bc
Do not build nav2_bringup on Windows
traversaro Jul 17, 2025
5fd0a82
Add blas-devel to packages that depends on suitesparse
traversaro Jul 17, 2025
f068820
Create ros-humble-slam-toolbox.win.patch
traversaro Jul 17, 2025
316cf7a
Update ros-humble-slam-toolbox.win.patch
traversaro Jul 17, 2025
febaf07
Update ros-humble-slam-toolbox.win.patch
traversaro Jul 17, 2025
49c7924
Update ros-humble-slam-toolbox.win.patch
traversaro Jul 17, 2025
a7d6e77
Do not build ublox on Windows
traversaro Jul 17, 2025
414c7a7
Start full build for linux and macos and patch angles on Windows
traversaro Jul 17, 2025
2f584b2
Fixes on Windows
traversaro Jul 17, 2025
161a507
Add windows fix for robot-localization
traversaro Jul 17, 2025
a315776
Update vinca.yaml
traversaro Jul 17, 2025
156a1f1
Update testpr.yml
traversaro Jul 17, 2025
15fbd65
Do no build sick packages on Windows
traversaro Jul 17, 2025
ee4418e
Update vinca.yaml
traversaro Jul 17, 2025
909991c
Create ros-humble-ur-controllers.win.patch
traversaro Jul 17, 2025
ddcff84
Add ur Windows patches
traversaro Jul 17, 2025
b9314c8
Fix ur-robot-driver patch
traversaro Jul 17, 2025
6a850c2
Do not build velodyne_simulator on Windows
traversaro Jul 17, 2025
9437795
Do not build vision-msgs-rviz-plugins on Windows
traversaro Jul 17, 2025
c98e554
Update testpr.yml
traversaro Jul 17, 2025
1a41847
Minor cleanup
Tobias-Fischer Jul 23, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 7 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,10 @@ jobs:
- name: Generate recipes for linux-64
run: |
git clean -fdx
cp vinca_linux_64.yaml vinca.yaml
vinca --multiple --platform linux-64
- name: Generate azure pipelines for linux-64
run: |
vinca-gha --platform linux-64 --trigger-branch buildbranch_linux -d ./recipes --additional-recipes
vinca-gha --platform linux-64 --trigger-branch buildbranch_linux -d ./recipes
- name: Commit files for linux-64
run: |
if [[ -f "linux.yml" ]]; then
Expand All @@ -50,11 +49,10 @@ jobs:
- name: Generate recipes for osx-64
run: |
git clean -fdx
cp vinca_osx.yaml vinca.yaml
vinca --multiple --platform osx-64
- name: Generate azure pipelines for osx-64
run: |
vinca-gha --platform osx-64 --trigger-branch buildbranch_osx -d ./recipes --additional-recipes
vinca-gha --platform osx-64 --trigger-branch buildbranch_osx -d ./recipes
- name: Commit files for osx-64
run: |
if [[ -f "osx.yml" ]]; then
Expand All @@ -76,11 +74,10 @@ jobs:
- name: Generate recipes for osx-arm64
run: |
git clean -fdx
cp vinca_osx_arm64.yaml vinca.yaml
vinca --multiple --platform osx-arm64
- name: Generate azure pipelines for osx-arm64
run: |
vinca-gha --platform osx-arm64 --trigger-branch buildbranch_osx_arm64 -d ./recipes --additional-recipes
vinca-gha --platform osx-arm64 --trigger-branch buildbranch_osx_arm64 -d ./recipes
- name: Commit files for osx-arm64
run: |
if [[ -f "osx_arm64.yml" ]]; then
Expand All @@ -102,11 +99,11 @@ jobs:
- name: Generate recipes for win-64
run: |
git clean -fdx
cp vinca_win.yaml vinca.yaml
vinca --multiple --platform win-64
- name: Generate azure pipelines for win-64
run: |
vinca-gha --platform win-64 --trigger-branch buildbranch_win -d ./recipes --additional-recipes
# --batch_size 10 is a workaround for https://github.com/RoboStack/robostack.github.io/issues/105
vinca-gha --platform win-64 --trigger-branch buildbranch_win -d ./recipes --batch_size 10
- name: Commit files for win-64
run: |
if [[ -f "win.yml" ]]; then
Expand All @@ -128,11 +125,10 @@ jobs:
- name: Generate recipes for linux-aarch64
run: |
git clean -fdx
cp vinca_linux_aarch64.yaml vinca.yaml
vinca --multiple --platform linux-aarch64
- name: Generate azure pipelines for linux-aarch64
run: |
vinca-gha --platform linux-aarch64 --trigger-branch buildbranch_linux_aarch64 -d ./recipes --additional-recipes
vinca-gha --platform linux-aarch64 --trigger-branch buildbranch_linux_aarch64 -d ./recipes
- name: Commit files for linux-aarch64
run: |
if [[ -f "linux_aarch64.yml" ]]; then
Expand All @@ -154,13 +150,11 @@ jobs:
- name: Generate recipes for emscripten-wasm32
run: |
git clean -fdx
cp vinca_emscripten32.yaml vinca.yaml
vinca --multiple --platform emscripten-wasm32
sh -c 'find additional_recipes/* -maxdepth 0 -type d -exec ln -s ../{} recipes/ \;'

- name: Generate azure pipelines for emscripten-wasm32
run: |
vinca-gha --platform emscripten-wasm32 --trigger-branch buildbranch_emscripten -d ./recipes --additional-recipes --batch_size 1
vinca-gha --platform emscripten-wasm32 --trigger-branch buildbranch_emscripten -d ./recipes --batch_size 1
- name: Commit files for emscripten-wasm32
run: |
if [[ -f "emscripten_wasm32.yml" ]]; then
Expand Down
172 changes: 68 additions & 104 deletions .github/workflows/testpr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ on:

env:
ROS_VERSION: 2

# Change to 'true' to enable the cache upload as artifacts
SAVE_CACHE_AS_ARTIFACT: 'false'
jobs:
build:
strategy:
Expand All @@ -13,16 +14,22 @@ jobs:
include:
- os: ubuntu-latest
platform: linux-64
folder_cache: 'output/linux-64'
- os: ubuntu-24.04-arm
platform: linux-aarch64
folder_cache: 'output/linux-aarch64'
- os: macos-13
platform: osx-64
folder_cache: 'output/osx-64'
- os: macos-14
platform: osx-arm64
folder_cache: 'output/osx-arm64'
- os: windows-2022
platform: win-64
folder_cache: 'C:/bld/win-64'
- os: ubuntu-latest
platform: emscripten-wasm32
folder_cache: 'output/emscripten-wasm32'

runs-on: ${{ matrix.os }}

Expand All @@ -32,11 +39,18 @@ jobs:
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo

- uses: prefix-dev/[email protected].1
- uses: prefix-dev/[email protected].10
with:
environments: beta
frozen: true

- name: Long paths workarounds for win-64
shell: bash -l {0}
if: matrix.platform == 'win-64'
run: |
# Workaround for problem related to long paths
echo "CONDA_BLD_PATH=C:\\bld\\" >> $GITHUB_ENV
mkdir /c/bld

# Workaround for https://github.com/RoboStack/ros-humble/pull/141#issuecomment-1941919816
- name: Clean up PATH
if: contains(matrix.os, 'windows')
Expand All @@ -56,119 +70,69 @@ jobs:
rm -rf /c/Strawberry
rm -rf "/c/Program Files (x86)/Windows Kits/10/Include/10.0.17763.0/"

- name: Check what files have changed
id: filecheck
shell: bash -l {0}
run: |
git fetch origin main
# continue on error
set +e
git diff --exit-code --name-only origin/main -- vinca_linux_64.yaml > /dev/null
echo "::set-output name=LINUX_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_emscripten32.yaml > /dev/null
echo "::set-output name=EMSCRIPTEN32_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_linux_aarch64.yaml > /dev/null
echo "::set-output name=LINUX_AARCH_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_osx.yaml > /dev/null
echo "::set-output name=OSX_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_osx_arm64.yaml > /dev/null
echo "::set-output name=OSX_ARM_YAML_CHANGED::${?}"
git diff --exit-code --name-only origin/main -- vinca_win.yaml > /dev/null
echo "::set-output name=WIN_YAML_CHANGED::${?}"
- name: Generate recipes for linux-64
shell: bash -l {0}
if: matrix.platform == 'linux-64'
run: |
cp vinca_linux_64.yaml vinca.yaml
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-64 -m
ls -la recipes
- name: Generate recipes for emscripten-wasm32
shell: bash -l {0}
if: steps.filecheck.outputs.EMSCRIPTEN32_YAML_CHANGED == 1 && matrix.platform == 'emscripten-wasm32'
run: |
cp vinca_emscripten32.yaml vinca.yaml
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform emscripten-wasm32 -m -n
ls -la recipes
- name: Generate recipes for linux-aarch64
shell: bash -l {0}
if: matrix.platform == 'linux-aarch64'
run: |
cp vinca_linux_aarch64.yaml vinca.yaml
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-aarch64 -m
ls -la recipes
- name: Generate recipes for osx-64
shell: bash -l {0}
if: matrix.platform == 'osx-64'
run: |
cp vinca_osx.yaml vinca.yaml
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-64 -m
ls -la recipes
- name: Generate recipes for osx-arm64
# Regression for https://github.com/RoboStack/ros-jazzy/issues/44
- name: Check that anaconda-client command works fine
shell: bash -l {0}
if: matrix.platform == 'osx-arm64'
run: |
cp vinca_osx_arm64.yaml vinca.yaml
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-arm64 -m
ls -la recipes
- name: Generate recipes for win-64
pixi run anaconda --version

- name: Generate recipes
shell: bash -l {0}
if: matrix.platform == 'win-64'
run: |
# Workaround for problem related to long paths
echo "CONDA_BLD_PATH=C:\\bld\\" >> $GITHUB_ENV
mkdir /c/bld
cp vinca_win.yaml vinca.yaml
mkdir -p recipes
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform win-64 -m
ls -la recipes
- name: Check if there are packages to be built
id: newrecipecheck
shell: bash -l {0}
run: |
set +e
if [ ! -d recipes ] || [ -z "$(ls -A recipes)" ]; then
echo "RECIPE_CREATED=0" >> $GITHUB_OUTPUT
else
echo "RECIPE_CREATED=1" >> $GITHUB_OUTPUT
fi
- name: Build recipes for linux-64
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-64'
run: |
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
- name: Build recipes for emscripten-wasm32
pixi run -v vinca --platform ${{ matrix.platform }} -m -n

- name: Check patches
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && steps.filecheck.outputs.EMSCRIPTEN32_YAML_CHANGED == 1 && matrix.platform == 'emscripten-wasm32'
run: |
env -i $HOME/.pixi/bin/pixi run -e beta sh -c 'find additional_recipes/* -maxdepth 0 -type d -exec ln -s ../{} recipes/ \;'
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir ./recipes --target-platform emscripten-wasm32 -m ./conda_build_config.yaml -c https://repo.mamba.pm/emscripten-forge/ -c robostack-staging -c conda-forge --skip-existing --test skip
- name: Build recipes for linux-aarch64
pixi run python check_patches_clean_apply.py

- name: Restore build cache
id: cache-restore
uses: actions/cache/restore@v4
with:
path: |
${{ matrix.folder_cache }}
key: ${{ runner.os }}-${{ matrix.platform }}-pr-${{ github.event.pull_request.number }}
# allow a later run to pick up a cache that has an extra suffix
restore-keys: |
${{ runner.os }}-${{ matrix.platform }}-pr-${{ github.event.pull_request.number }}-

- name: See packages restored by cache
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-aarch64'
run: |
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
- name: Build recipes for osx-64
ls ${{ matrix.folder_cache }}

- name: Build recipes [non emscripten]
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-64'
if: matrix.platform != 'emscripten-wasm32'
run: |
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform osx-64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform osx-64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
- name: Build recipes for osx-arm64
pixi run rattler-build build --recipe-dir recipes --target-platform ${{ matrix.platform }} -m ./conda_build_config.yaml -c conda-forge -c robostack-staging --skip-existing

- name: Build recipes [emscripten]
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-arm64'
if: matrix.platform == 'emscripten-wasm32'
run: |
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
env -i $HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
- name: Build recipes for win-64
pixi run rattler-build build --recipe-dir recipes --target-platform ${{ matrix.platform }} -m ./conda_build_config.yaml -c https://repo.mamba.pm/emscripten-forge/ -c conda-forge -c robostack-staging --skip-existing --test skip

- name: See packages that will be saved in cache
shell: bash -l {0}
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'win-64'
if: always()
run: |
$HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir additional_recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-staging -c conda-forge --skip-existing
$HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes -m ./conda_build_config.yaml --target-platform win-64 -c robostack-staging -c conda-forge --skip-existing
ls ${{ matrix.folder_cache }}

- name: Save build cache
uses: actions/cache/save@v4
if: always()
with:
path: |
${{ matrix.folder_cache }}
key: ${{ runner.os }}-${{ matrix.platform }}-pr-${{ github.event.pull_request.number }}-${{ github.run_id }}-${{ github.run_attempt }}

- name: Upload build cache as artifact
if: ${{ always() && env.SAVE_CACHE_AS_ARTIFACT == 'true' }}
uses: actions/upload-artifact@v4
with:
name: cache-${{ matrix.platform }}-${{ github.run_id }}
path: ${{ matrix.folder_cache }}
retention-days: 7
5 changes: 1 addition & 4 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
vinca.yaml
recipes/
*.bat
*.sh
*.ps1
recipes_only_patch/
*.json
.DS_Store
# pixi environments
Expand Down
2 changes: 1 addition & 1 deletion .scripts/build_unix.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ for recipe in ${CURRENT_RECIPES[@]}; do
pixi run -v rattler-build build \
--recipe ${FEEDSTOCK_ROOT}/recipes/${recipe} \
-m ${FEEDSTOCK_ROOT}/conda_build_config.yaml \
-c robostack-staging -c conda-forge \
-c conda-forge -c robostack-staging \
${extra_channel} \
--output-dir $CONDA_BLD_PATH \
${cross_compile}
Expand Down
2 changes: 1 addition & 1 deletion .scripts/build_win.bat
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ for %%X in (%CURRENT_RECIPES%) do (
cd %FEEDSTOCK_ROOT%\recipes\%%X\
pixi run -v rattler-build build --recipe %FEEDSTOCK_ROOT%\recipes\%%X\ ^
-m %FEEDSTOCK_ROOT%\conda_build_config.yaml ^
-c robostack-staging -c conda-forge ^
-c conda-forge -c robostack-staging ^
--output-dir %CONDA_BLD_PATH%

if errorlevel 1 exit 1
Expand Down
Loading
Loading