-
Notifications
You must be signed in to change notification settings - Fork 3
33 lines (31 loc) · 982 Bytes
/
tests.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
name: smalltalkCI
on: [push, pull_request, workflow_dispatch]
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
smalltalk: [ Squeak64-6.0 ]
name: Test ${{ matrix.smalltalk }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15
- run: ./scripts/build_version.sh
if: startsWith(github.ref, 'refs/tags/') && matrix.smalltalk == 'Squeak64-6.0'
shell: bash
timeout-minutes: 5
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/') && matrix.smalltalk == 'Squeak64-6.0'
with:
files: |
deploy/sandblocks-all.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}