-
-
Notifications
You must be signed in to change notification settings - Fork 16
33 lines (29 loc) · 887 Bytes
/
Copy pathci.yml
File metadata and controls
33 lines (29 loc) · 887 Bytes
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
name: CI
on: [pull_request]
jobs:
generate-matrix:
name: Generate jobs
runs-on: ubuntu-latest
outputs:
jobs: ${{ steps.set-matrix.outputs.jobs }}
steps:
- uses: actions/checkout@v6
- uses: taiki-e/install-action@just
- run: node ./scripts/ci/create-github-checks.js
id: set-matrix
run-task:
name: ${{ matrix.jobs.doc }}
runs-on: ubuntu-latest
needs: [generate-matrix]
container:
image: archlinux
strategy:
fail-fast: false
max-parallel: 6
matrix: ${{fromJSON(needs.generate-matrix.outputs.jobs)}}
steps:
- uses: actions/checkout@v6
- run: pacman-key --init
- run: pacman -Sy --needed --noconfirm archlinux-keyring
- run: pacman -Syu --needed --noconfirm ${{ matrix.jobs.packages }}
- run: just --justfile ${{ matrix.jobs.file }} ${{ matrix.jobs.name }}