-
Notifications
You must be signed in to change notification settings - Fork 1
36 lines (34 loc) · 995 Bytes
/
main.yml
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
name: CI
on: [push, pull_request]
jobs:
matrix:
name: Determine modified packages
runs-on: ubuntu-latest
outputs:
packages: ${{ steps.modified-packages.outputs.packages }}
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 300
- name: Commit Range
id: commit-range
uses: tue-robotics/tue-env/ci/commit-range@master
- name: Modified packages
id: modified-packages
uses: tue-robotics/tue-env/ci/modified-packages@master
with:
commit-range: ${{ steps.commit-range.outputs.commit-range }}
ignored-packages: people_recognition
tue-ci:
name: TUe CI - ${{ matrix.package }}
runs-on: ubuntu-latest
needs: matrix
strategy:
fail-fast: false
matrix:
package: ${{ fromJson(needs.matrix.outputs.packages) }}
steps:
- name: TUe CI
uses: tue-robotics/tue-env/ci/main@master
with:
package: ${{ matrix.package }}