-
Notifications
You must be signed in to change notification settings - Fork 170
41 lines (40 loc) · 1.07 KB
/
gazebo_ci.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: CI Gazebo images
on:
pull_request:
paths:
- '.ci/**'
- '.github/workflows/gazebo_ci.yaml'
- 'gazebo/11/**'
push:
paths:
- '.ci/**'
- '.github/workflows/gazebo_ci.yaml'
- 'gazebo/11/**'
schedule:
# Trigger daily to check for upstream changes
- cron: '0 0 * * *'
jobs:
check_images:
strategy:
fail-fast: false
matrix:
env:
- {HUB_REPO: gazebo, HUB_RELEASE: 11, HUB_OS_NAME: ubuntu, HUB_OS_CODE_NAME: focal}
runs-on: ubuntu-latest
env:
GITHUBEMAIL: ${{ secrets.GITHUBEMAIL }}
GITHUBTOKEN: ${{ secrets.GITHUBTOKEN }}
GITHUBUSER: ${{ secrets.GITHUBUSER }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5.1.0
with:
python-version: 3.x
- name: Install requirements
run: |
python -m pip install --upgrade pip
pip install -r docker/requirements.txt
pip install -r .ci/requirements.txt
- name: Check and build Gazebo image
env: ${{matrix.env}}
run: .ci/ci_script.py