Skip to content

Commit acaeb79

Browse files
committed
Build only on ubuntu
1 parent 8221948 commit acaeb79

File tree

1 file changed

+17
-18
lines changed

1 file changed

+17
-18
lines changed

.github/workflows/test.yml

Lines changed: 17 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,32 @@
1-
name: CI matrix
21

2+
name: CI
3+
4+
env:
5+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6+
7+
# Controls when the action will run. Triggers the workflow on push or pull request
8+
# events but only for the development branch
39
on:
410
push:
511
branches:
612
- '**'
713
pull_request:
814
types: [assigned, opened, synchronize, reopened]
915

10-
11-
# Allows you to run this workflow manually from the Actions tab
12-
workflow_dispatch:
13-
14-
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
1516
jobs:
1617
build:
18+
runs-on: ubuntu-latest
19+
env:
20+
PROJECT_NAME: Pharo-AI-${{ matrix.smalltalk }}
1721
strategy:
1822
matrix:
19-
os: [ macos-latest, windows-latest, ubuntu-latest]
20-
smalltalk: [ Pharo64-9.0, Pharo64-10, Pharo64-11]
21-
runs-on: ${{ matrix.os }}
22-
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
23+
smalltalk: [ Pharo64-9.0, Pharo64-10, Pharo64-11 ]
24+
name: ${{ matrix.smalltalk }}
2325
steps:
2426
- uses: actions/checkout@v2
25-
- name: Setup smalltalkCI
26-
uses: hpi-swa/setup-smalltalkCI@v1
27+
- uses: hpi-swa/setup-smalltalkCI@v1
2728
with:
28-
smalltalk-image: ${{ matrix.smalltalk }}
29-
- name: Load Image and Run Tests
30-
run: smalltalkci -s ${{ matrix.smalltalk }}
31-
env:
32-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
33-
timeout-minutes: 15
29+
smalltalk-version: ${{ matrix.smalltalk }}
30+
- run: smalltalkci -s ${{ matrix.smalltalk }}
31+
shell: bash
32+
timeout-minutes: 15

0 commit comments

Comments
 (0)