Use citool in CI

This commit is contained in:
Jakub Beránek 2025-02-11 13:14:42 +01:00
parent a789f9e283
commit 87c49f025f
No known key found for this signature in database
GPG key ID: 909CD0D26483516B

View file

@ -1,8 +1,8 @@
# This file defines our primary CI workflow that runs on pull requests # This file defines our primary CI workflow that runs on pull requests
# and also on pushes to special branches (auto, try). # and also on pushes to special branches (auto, try).
# #
# The actual definition of the executed jobs is calculated by a Python # The actual definition of the executed jobs is calculated by a
# script located at src/ci/github-actions/ci.py, which # script located at src/ci/citool, which
# uses job definition data from src/ci/github-actions/jobs.yml. # uses job definition data from src/ci/github-actions/jobs.yml.
# You should primarily modify the `jobs.yml` file if you want to modify # You should primarily modify the `jobs.yml` file if you want to modify
# what jobs are executed in CI. # what jobs are executed in CI.
@ -56,7 +56,9 @@ jobs:
- name: Calculate the CI job matrix - name: Calculate the CI job matrix
env: env:
COMMIT_MESSAGE: ${{ github.event.head_commit.message }} COMMIT_MESSAGE: ${{ github.event.head_commit.message }}
run: python3 src/ci/github-actions/ci.py calculate-job-matrix >> $GITHUB_OUTPUT run: |
cd src/ci/citool
cargo run calculate-job-matrix >> $GITHUB_OUTPUT
id: jobs id: jobs
job: job:
name: ${{ matrix.full_name }} name: ${{ matrix.full_name }}