Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
with:
submodules: recursive

- uses: prefix-dev/setup-pixi@v0.8.1
- uses: prefix-dev/setup-pixi@v0.9.3
with:
cache: true
environments: all
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/macos-linux-pixi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ jobs:
key: ccache-macos-linux-pixi-${{ matrix.os }}-${{ matrix.build_type }}-${{ github.sha }}
restore-keys: ccache-macos-linux-pixi-${{ matrix.os }}-${{ matrix.build_type }}-

- uses: prefix-dev/setup-pixi@v0.8.1
- uses: prefix-dev/setup-pixi@v0.9.3
with:
pixi-version: v0.63.0
cache: true
environments: ${{ matrix.environment }}

Expand Down Expand Up @@ -88,7 +89,7 @@ jobs:
with:
submodules: recursive

- uses: prefix-dev/setup-pixi@v0.9.2
- uses: prefix-dev/setup-pixi@v0.9.3
env:
CMAKE_BUILD_PARALLEL_LEVEL: 2
with:
Expand All @@ -104,6 +105,7 @@ jobs:

needs:
- aligator-pixi
- aligator-pixi-build

runs-on: ubuntu-latest

Expand Down
49 changes: 45 additions & 4 deletions .github/workflows/ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
uses: actions/cache@v5
with:
path: .ccache
save-always: true
key: ccache-ubuntu-${{ matrix.container }}-${{ github.sha }}
restore-keys: ccache-ubuntu-${{ matrix.container }}-

Expand All @@ -68,7 +67,8 @@ jobs:
sh -c "echo \"deb [arch=amd64] http://robotpkg.openrobots.org/packages/debian/pub $(lsb_release -cs) robotpkg\" >> /etc/apt/sources.list "
apt-key adv --fetch-keys http://robotpkg.openrobots.org/packages/debian/robotpkg.key

- name: Set and install dependencies
- name: Set and install dependencies [Ubuntu 22.04]
if: contains(matrix.container, '22.04')
run: |
export PYTHON3_VERSION=$(python3 -c "import sys; print(str(sys.version_info.major)+str(sys.version_info.minor))")
export APT_DEPENDENCIES="doxygen \
Expand All @@ -82,6 +82,33 @@ jobs:
libmimalloc-dev \
python3-numpy \
python3-pytest \
python3-matplotlib \
robotpkg-example-robot-data \
robotpkg-py${PYTHON3_VERSION}-example-robot-data \
robotpkg-py${PYTHON3_VERSION}-eigenpy \
robotpkg-py${PYTHON3_VERSION}-pinocchio"
echo $APT_DEPENDENCIES

apt-get update -qq
DEBIAN_FRONTEND="noninteractive" apt-get install -qq ${APT_DEPENDENCIES}

- name: Set and install dependencies [Ubuntu 24.04]
if: contains(matrix.container, '24.04')
run: |
export PYTHON3_VERSION=$(python3 -c "import sys; print(str(sys.version_info.major)+str(sys.version_info.minor))")
export APT_DEPENDENCIES="doxygen \
ninja-build \
ccache \
libomp-dev \
libomp5 \
libboost-all-dev \
libeigen3-dev \
libfmt-dev \
libmimalloc-dev \
catch2 \
python3-numpy \
python3-pytest \
python3-matplotlib \
robotpkg-example-robot-data \
robotpkg-py${PYTHON3_VERSION}-example-robot-data \
robotpkg-py${PYTHON3_VERSION}-eigenpy \
Expand Down Expand Up @@ -116,10 +143,24 @@ jobs:
-DBUILD_EXAMPLES=ON \
-DGENERATE_PYTHON_STUBS=ON \
-DALIGATOR_TRACY_ENABLE=OFF \
-DBUILD_WITH_UBUNTU_22_COMPATIBILITY=${{ ubuntu_22_compatibility }}
-DBUILD_WITH_UBUNTU_22_COMPATIBILITY=${{ matrix.ubuntu_22_compatibility }}
ninja
ctest
ctest --output-on-failure

- name: Display ccache statistics
run: |
ccache -sv

check:
name: check-ubuntu

needs:
- ubuntu

runs-on: ubuntu-latest

steps:
- name: Decide whether the needed jobs succeeded or failed
uses: re-actors/alls-green@release/v1
with:
jobs: ${{ toJSON(needs) }}
2 changes: 1 addition & 1 deletion .github/workflows/update_pixi_lockfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
persist-credentials: false

- name: Set up pixi
uses: prefix-dev/setup-pixi@v0.8.1
uses: prefix-dev/setup-pixi@v0.9.3
with:
run-install: false

Expand Down
Loading
Loading