forked from hpi-swa/smalltalkCI
-
Notifications
You must be signed in to change notification settings - Fork 1
109 lines (107 loc) · 3.43 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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
name: smalltalkCI Self Test
on:
push:
paths-ignore:
- '**.md'
- 'docs/**'
- '.appveyor.yml'
- '.travis.yml'
pull_request:
paths-ignore:
- '**.md'
- 'docs/**'
- '.appveyor.yml'
- '.travis.yml'
workflow_dispatch:
jobs:
build:
strategy:
matrix:
os: [ macos-latest ]
smalltalk:
# - GemStone64-3.6.6
- GemStone64-3.7.0
# - Pharo64-11
# os: [ ubuntu-20.04, macos-latest, windows-2019 ]
# smalltalk:
# - Squeak64-trunk
# - Squeak64-6.0
# - Squeak64-5.3
# - Squeak64-5.2
# - Squeak64-5.1
# - Squeak32-trunk
# - Squeak32-6.0
# - Squeak32-4.5
# - Pharo64-stable
# - Pharo64-alpha
# - Pharo64-12
# - Pharo64-11
# - Pharo64-10
# - Pharo64-9.0
# - Pharo64-8.0
# - Pharo64-7.0
# - Pharo64-6.1
# - Pharo64-6.0
# - Pharo32-stable
# - Pharo32-alpha
# - Pharo32-3.0
# - Moose64-11
# - Moose64-10
# - Moose64-9.0
# - Moose64-8.0
# - GemStone64-3.5.3
# - GemStone64-3.5.8
# - GemStone64-3.6.0
# - GemStone64-3.6.5
# - GToolkit64-release
timeout-minutes: [ 15 ]
exclude: # exclude 32bit builds on macOS and GemStone builds on windows
- os: macos-latest
smalltalk: Squeak32-trunk
- os: macos-latest
smalltalk: Squeak32-6.0
- os: macos-latest
smalltalk: Squeak32-4.5
- os: macos-latest
smalltalk: Pharo32-stable
- os: macos-latest
smalltalk: Pharo32-alpha
- os: macos-latest
smalltalk: Pharo32-3.0
- os: windows-2019
smalltalk: Pharo64-10
- os: windows-2019
smalltalk: Pharo64-6.0
- os: windows-2019
smalltalk: GemStone64-3.5.3
- os: windows-2019
smalltalk: GemStone64-3.5.8
- os: windows-2019
smalltalk: GemStone64-3.6.0
- os: windows-2019
smalltalk: GemStone64-3.6.5
runs-on: ${{ matrix.os }}
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- name: Setup smalltalkCI
uses: dalehenrich/setup-smalltalkCI@solo
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Run smalltalkCI self test
run: |
export CI="true"
tests/all_tests.sh
bin/smalltalkci --gs-DISABLENATIVECODE -s ${{ matrix.smalltalk }} --self-test
shell: bash
if: contains(matrix.smalltalk, 'trunk') == false && contains(matrix.smalltalk, 'alpha') == false && contains(matrix.smalltalk, 'Squeak32-6.0') == false && contains(matrix.smalltalk, 'GToolkit64') == false
timeout-minutes: ${{ matrix.timeout-minutes }}
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, 'Squeak32-6.0') || contains(matrix.smalltalk, 'GToolkit64')
timeout-minutes: ${{ matrix.timeout-minutes }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}