forked from hpi-swa/smalltalkCI
-
Notifications
You must be signed in to change notification settings - Fork 0
63 lines (61 loc) · 1.97 KB
/
main.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
name: smalltalkCI Self Test
on:
push:
paths-ignore:
- '**.md'
- 'docs/**'
- '.appveyor.yml'
- '.travis.yml'
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
- '.appveyor.yml'
- '.travis.yml'
jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
smalltalk:
- Squeak64-5.3
- Squeak64-5.2
- Squeak64-5.1
- Squeak64-trunk
- Pharo64-stable
- Pharo64-alpha
- Pharo64-9.0
- Pharo64-8.0
- Pharo64-7.0
- Pharo64-6.1
- Pharo64-6.0
- Moose64-9.0
- Moose64-8.0
- Moose64-7.0
include:
- os: ubuntu-16.04
smalltalk: GemStone64-3.5.0
runs-on: ${{ matrix.os }}
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v2
- name: Setup smalltalkCI
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Run smalltalkCI self test
run: |
tests/all_tests.sh
bin/smalltalkci -s ${{ matrix.smalltalk }} --self-test
shell: bash
if: contains(matrix.smalltalk, 'trunk') == false && contains(matrix.smalltalk, 'alpha') == false && ((contains(matrix.smalltalk, 'Pharo') || contains(matrix.smalltalk, 'Moose')) && matrix.os == 'windows-latest') == false
timeout-minutes: 15
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run smalltalkCI self test and ignore failures
run: bin/smalltalkci -s ${{ matrix.smalltalk }} --self-test || true
shell: bash
if: contains(matrix.smalltalk, 'trunk') || contains(matrix.smalltalk, 'alpha') || ((contains(matrix.smalltalk, 'Pharo') || contains(matrix.smalltalk, 'Moose')) && matrix.os == 'windows-latest')
timeout-minutes: 15
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}