Skip to content

Commit 806213d

Browse files
Merge pull request #79 from RoboStack/cleanupjune25
Cleanup pixi.toml, consolidate vinca.yaml in a single file and cleanup build of livox-ros-driver2
2 parents cbd6397 + a7edd5c commit 806213d

17 files changed

+227
-1575
lines changed

.github/workflows/main.yml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ jobs:
2525
- name: Generate recipes for linux-64
2626
run: |
2727
git clean -fdx
28-
cp vinca_linux_64.yaml vinca.yaml
2928
vinca --multiple --platform linux-64
3029
- name: Generate azure pipelines for linux-64
3130
run: |
@@ -51,7 +50,6 @@ jobs:
5150
- name: Generate recipes for osx-64
5251
run: |
5352
git clean -fdx
54-
cp vinca_osx.yaml vinca.yaml
5553
vinca --multiple --platform osx-64
5654
- name: Generate azure pipelines for osx-64
5755
run: |
@@ -77,7 +75,6 @@ jobs:
7775
- name: Generate recipes for osx-arm64
7876
run: |
7977
git clean -fdx
80-
cp vinca_osx_arm64.yaml vinca.yaml
8178
vinca --multiple --platform osx-arm64
8279
- name: Generate azure pipelines for osx-arm64
8380
run: |
@@ -103,7 +100,6 @@ jobs:
103100
- name: Generate recipes for win-64
104101
run: |
105102
git clean -fdx
106-
cp vinca_win.yaml vinca.yaml
107103
vinca --multiple --platform win-64
108104
- name: Generate azure pipelines for win-64
109105
run: |
@@ -129,7 +125,6 @@ jobs:
129125
- name: Generate recipes for linux-aarch64
130126
run: |
131127
git clean -fdx
132-
cp vinca_linux_aarch64.yaml vinca.yaml
133128
vinca --multiple --platform linux-aarch64
134129
- name: Generate azure pipelines for linux-aarch64
135130
run: |

.github/workflows/testpr.yml

Lines changed: 21 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -13,21 +13,14 @@ jobs:
1313
include:
1414
- os: ubuntu-latest
1515
platform: linux-64
16-
additional_recipes:
17-
- "ros-jazzy-livox-ros-driver2"
1816
- os: ubuntu-24.04-arm
1917
platform: linux-aarch64
20-
additional_recipes:
21-
- "ros-jazzy-livox-ros-driver2"
2218
- os: macos-13
2319
platform: osx-64
24-
additional_recipes: []
2520
- os: macos-14
2621
platform: osx-arm64
27-
additional_recipes: []
2822
- os: windows-2022
2923
platform: win-64
30-
additional_recipes: []
3124

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

@@ -37,10 +30,9 @@ jobs:
3730
persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token
3831
fetch-depth: 0 # otherwise, you will failed to push refs to dest repo
3932

40-
- uses: prefix-dev/setup-pixi@v0.8.8
33+
- uses: prefix-dev/setup-pixi@v0.8.10
4134
with:
4235
pixi-version: v0.44.0
43-
environments: beta
4436
frozen: true
4537

4638
# Workaround for https://github.com/RoboStack/ros-humble/pull/141#issuecomment-1941919816
@@ -73,33 +65,29 @@ jobs:
7365
shell: bash -l {0}
7466
if: matrix.platform == 'linux-64'
7567
run: |
76-
cp vinca_linux_64.yaml vinca.yaml
7768
mkdir -p recipes
78-
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-64 -m -n
69+
$HOME/.pixi/bin/pixi run -v vinca --platform linux-64 -m -n
7970
ls -la recipes
8071
- name: Generate recipes for linux-aarch64
8172
shell: bash -l {0}
8273
if: matrix.platform == 'linux-aarch64'
8374
run: |
84-
cp vinca_linux_aarch64.yaml vinca.yaml
8575
mkdir -p recipes
86-
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform linux-aarch64 -m -n
76+
$HOME/.pixi/bin/pixi run -v vinca --platform linux-aarch64 -m -n
8777
ls -la recipes
8878
- name: Generate recipes for osx-64
8979
shell: bash -l {0}
9080
if: matrix.platform == 'osx-64'
9181
run: |
92-
cp vinca_osx.yaml vinca.yaml
9382
mkdir -p recipes
94-
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-64 -m -n
83+
$HOME/.pixi/bin/pixi run -v vinca --platform osx-64 -m -n
9584
ls -la recipes
9685
- name: Generate recipes for osx-arm64
9786
shell: bash -l {0}
9887
if: matrix.platform == 'osx-arm64'
9988
run: |
100-
cp vinca_osx_arm64.yaml vinca.yaml
10189
mkdir -p recipes
102-
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform osx-arm64 -m -n
90+
$HOME/.pixi/bin/pixi run -v vinca --platform osx-arm64 -m -n
10391
ls -la recipes
10492
- name: Generate recipes for win-64
10593
shell: bash -l {0}
@@ -108,14 +96,9 @@ jobs:
10896
# Workaround for problem related to long paths
10997
echo "CONDA_BLD_PATH=C:\\bld\\" >> $GITHUB_ENV
11098
mkdir /c/bld
111-
cp vinca_win.yaml vinca.yaml
11299
mkdir -p recipes
113-
$HOME/.pixi/bin/pixi run -e beta -v vinca --platform win-64 -m -n
100+
$HOME/.pixi/bin/pixi run -v vinca --platform win-64 -m -n
114101
ls -la recipes
115-
- name: Copy additional recipes which have been changed into recipes
116-
shell: bash -l {0}
117-
run: |
118-
echo '${{ toJson(matrix.additional_recipes) }}' | jq -r ".[]" | xargs -I@ cp -r additional_recipes/@ recipes/
119102
- name: Check if there are packages to be built
120103
id: newrecipecheck
121104
shell: bash -l {0}
@@ -131,34 +114,34 @@ jobs:
131114
shell: bash -l {0}
132115
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-64'
133116
run: |
134-
env -i $HOME/.pixi/bin/pixi run -e beta python check_patches_clean_apply.py
135-
# 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-jazzy -c conda-forge --skip-existing
136-
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-jazzy -c conda-forge --skip-existing
117+
env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
118+
# env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
119+
env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform linux-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
137120
- name: Build recipes for linux-aarch64
138121
shell: bash -l {0}
139122
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'linux-aarch64'
140123
run: |
141-
env -i $HOME/.pixi/bin/pixi run -e beta python check_patches_clean_apply.py
142-
# 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-jazzy -c conda-forge --skip-existing
143-
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-jazzy -c conda-forge --skip-existing
124+
env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
125+
# env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
126+
env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform linux-aarch64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
144127
- name: Build recipes for osx-64
145128
shell: bash -l {0}
146129
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-64'
147130
run: |
148-
env -i $HOME/.pixi/bin/pixi run -e beta python check_patches_clean_apply.py
149-
# 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-jazzy -c conda-forge --skip-existing
150-
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-jazzy -c conda-forge --skip-existing
131+
env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
132+
# env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform osx-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
133+
env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform osx-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
151134
- name: Build recipes for osx-arm64
152135
shell: bash -l {0}
153136
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'osx-arm64'
154137
run: |
155-
env -i $HOME/.pixi/bin/pixi run -e beta python check_patches_clean_apply.py
156-
# 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-jazzy -c conda-forge --skip-existing
157-
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-jazzy -c conda-forge --skip-existing
138+
env -i $HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
139+
# env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
140+
env -i $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform osx-arm64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
158141
- name: Build recipes for win-64
159142
shell: bash -l {0}
160143
if: steps.newrecipecheck.outputs.RECIPE_CREATED == 1 && matrix.platform == 'win-64'
161144
run: |
162-
$HOME/.pixi/bin/pixi run -e beta python check_patches_clean_apply.py
163-
# $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-jazzy -c conda-forge --skip-existing
164-
$HOME/.pixi/bin/pixi run -e beta rattler-build build --recipe-dir recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
145+
$HOME/.pixi/bin/pixi run python check_patches_clean_apply.py
146+
# $HOME/.pixi/bin/pixi run rattler-build build --recipe-dir additional_recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing
147+
$HOME/.pixi/bin/pixi run rattler-build build --recipe-dir recipes --target-platform win-64 -m ./conda_build_config.yaml -c robostack-jazzy -c conda-forge --skip-existing

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
vinca.yaml
21
recipes/
32
*.bat
43
*.sh

additional_recipes/ros-jazzy-livox-ros-driver2/add_package_xml.patch

Lines changed: 0 additions & 55 deletions
This file was deleted.

additional_recipes/ros-jazzy-livox-ros-driver2/bld_ament_cmake.bat

Lines changed: 0 additions & 1 deletion
This file was deleted.

additional_recipes/ros-jazzy-livox-ros-driver2/build_ament_cmake.sh

Lines changed: 0 additions & 1 deletion
This file was deleted.

additional_recipes/ros-jazzy-livox-ros-driver2/fix_livox_interfaces.patch

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)