-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (31 loc) · 913 Bytes
/
ci.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
name: CI
on:
[push, pull_request]
jobs:
get-matrix:
runs-on: ubuntu-latest
outputs:
pharo-version: ${{ steps.get-matrix-from-json.outputs.pharo-version }}
steps:
- uses: actions/checkout@v3
- name: Get Matrix
id: get-matrix-from-json
run: |
PHAROVERSION=$(cat $GITHUB_WORKSPACE/.github/workflows/pharo-versions.json)
echo "pharo-version=$PHAROVERSION" >> $GITHUB_OUTPUT
build:
runs-on: ubuntu-latest
needs:
- get-matrix
strategy:
matrix:
smalltalk: ${{ fromJSON(needs.get-matrix.outputs.pharo-version) }}
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15