From e9d54fd3daa84515d5818dee74705ee69628931d Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Thu, 31 Oct 2024 13:24:13 +0100 Subject: [PATCH 1/2] Add github action testing Signed-off-by: Jose Luis Rivero --- .github/workflows/ci-pixi.yaml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/ci-pixi.yaml diff --git a/.github/workflows/ci-pixi.yaml b/.github/workflows/ci-pixi.yaml new file mode 100644 index 000000000..a051d201c --- /dev/null +++ b/.github/workflows/ci-pixi.yaml @@ -0,0 +1,21 @@ +name: DSL logs and checks + +on: + pull_request: + push: + paths: + - 'conda/envs/legacy/**' + +jobs: + legacy_pixi_test: + runs-on: ubuntu-latest + name: Legacy testing Pixi + steps: + - name: Install pixi + uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1 + with: + locked: true + cache: false # 10Gb limit might be too low for caching + - name: Build Gazebo enviroment + run: + pixi install --locked --manifest-path conda/envs/legacy/ From 61fe238d546a30b055ba832f64ed7db66d0a3822 Mon Sep 17 00:00:00 2001 From: Jose Luis Rivero Date: Thu, 31 Oct 2024 13:26:15 +0100 Subject: [PATCH 2/2] Clean up file Signed-off-by: Jose Luis Rivero --- .github/workflows/ci-pixi.yaml | 12 +++++++----- conda/envs/legacy/gz-environment.yaml | 1 - 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci-pixi.yaml b/.github/workflows/ci-pixi.yaml index a051d201c..a275f0489 100644 --- a/.github/workflows/ci-pixi.yaml +++ b/.github/workflows/ci-pixi.yaml @@ -1,4 +1,4 @@ -name: DSL logs and checks +name: Conda env testing on: pull_request: @@ -9,13 +9,15 @@ on: jobs: legacy_pixi_test: runs-on: ubuntu-latest - name: Legacy testing Pixi + name: Legacy Pixi steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 0 - name: Install pixi uses: prefix-dev/setup-pixi@ba3bb36eb2066252b2363392b7739741bb777659 # v0.8.1 with: locked: true cache: false # 10Gb limit might be too low for caching - - name: Build Gazebo enviroment - run: - pixi install --locked --manifest-path conda/envs/legacy/ + manifest-path: conda/envs/legacy/pixi.toml diff --git a/conda/envs/legacy/gz-environment.yaml b/conda/envs/legacy/gz-environment.yaml index c4a8b5135..c12492a43 100644 --- a/conda/envs/legacy/gz-environment.yaml +++ b/conda/envs/legacy/gz-environment.yaml @@ -1,7 +1,6 @@ name: gazebo channels: - conda-forge -# plaforms works on conda-lock https://github.com/conda/conda-lock?tab=readme-ov-file#platform-specification platforms: - win-64 dependencies: