Skip to content

chore(deps): bump actions/upload-artifact from 6 to 7 #6525

chore(deps): bump actions/upload-artifact from 6 to 7

chore(deps): bump actions/upload-artifact from 6 to 7 #6525

Workflow file for this run

# https://help.github.com/en/articles/workflow-syntax-for-github-actions
name: CI gz-physics
on:
push:
branches:
- "**"
pull_request:
branches:
- "**"
schedule:
- cron: "0 2 * * 0,3"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: ${{ github.event_name != 'schedule' && github.ref != 'refs/heads/main' }}
jobs:
changes:
runs-on: ubuntu-latest
outputs:
code: ${{ steps.filter.outputs.code }}
steps:
- uses: actions/checkout@v6
- uses: dorny/paths-filter@v3
id: filter
with:
filters: |
code:
- '**'
- '!.github/workflows/cache_*.yml'
- '!docker/dev/**'
- '!docs/**'
- '!.readthedocs.yml'
- '!tutorials/**'
- '!**/*.md'
- '!**/*.rst'
- '!**/*.po'
- '!**/*.pot'
test_gazebo:
needs: changes
if: github.event_name == 'schedule' || github.event_name == 'workflow_dispatch' || needs.changes.outputs.code == 'true'
name: GZ Physics Tests
runs-on: ubuntu-latest
env:
# Keep parallelism modest to avoid process limits on shared runners.
DART_PARALLEL_JOBS: 8
# Avoid spawning too many ninja processes on shared runners (posix_spawn failures)
CMAKE_BUILD_PARALLEL_LEVEL: 1
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Setup pixi (CI)
uses: ./.github/actions/setup-pixi-ci
with:
pixi-bin-path: ${{ runner.temp }}/pixi/bin/pixi
install-args: -e gazebo
- name: Install apt packages
uses: awalsh128/cache-apt-pkgs-action@v1.6.0
with:
packages: libgl1-mesa-dev libglu1-mesa-dev
version: 1.0
- name: Configure environment for compiler cache
uses: ./.github/actions/configure-compiler-cache
- name: Test gz-physics
env:
DART_PARALLEL_JOBS: 8
run: |
pixi r -e gazebo test-gz