Skip to content

Commit 35f32e6

Browse files
authored
Create matrix.yml
1 parent 68fe980 commit 35f32e6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/matrix.yml

+31
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: matrix
2+
3+
on:
4+
push:
5+
branches: [ master ]
6+
pull_request:
7+
branches: [ master ]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
13+
jobs:
14+
build:
15+
strategy:
16+
matrix:
17+
os: [ macos-latest, ubuntu-latest ]
18+
smalltalk: [ Pharo64-8.0, Pharo64-7.0 ]
19+
runs-on: ${{ matrix.os }}
20+
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
21+
steps:
22+
- uses: actions/checkout@v2
23+
- name: Setup smalltalkCI
24+
uses: hpi-swa/setup-smalltalkCI@v1
25+
with:
26+
smalltalk-version: ${{ matrix.smalltalk }}
27+
- name: Load Image and Run Tests
28+
run: smalltalkci -s ${{ matrix.smalltalk }}
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
31+
timeout-minutes: 15

0 commit comments

Comments
 (0)