-
Notifications
You must be signed in to change notification settings - Fork 0
41 lines (36 loc) · 926 Bytes
/
ci.yml
File metadata and controls
41 lines (36 loc) · 926 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
34
35
36
37
38
39
40
41
name: ci
on:
pull_request:
paths:
- projects/**/*.ts
- .github/workflows/ci.yml
concurrency:
group: ci/${{ github.event.pull_request.head.ref }}
cancel-in-progress: true
env:
PKGX_DIST_URL: https://dist.pkgx.dev/v2
jobs:
plan:
runs-on: ubuntu-latest
outputs:
matrix: ${{ steps.compute.outputs.matrix }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/plan
id: compute
with:
default: zlib.net
validate:
needs: plan
runs-on: ${{ matrix.platform.os }}
container: ${{ matrix.platform.container }}
name: ${{ matrix.pkg }} (${{ matrix.platform.tinyname }})
strategy:
fail-fast: false
matrix:
include: ${{ fromJSON(needs.plan.outputs.matrix) }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: pkg-build ${{ matrix.pkg }}
- run: pkg-test