Skip to content

Commit 2da9648

Browse files
authored
Merge pull request #2 from Alokzh/ci-workflow-setup
Added .smalltalk.ston file & setup CI.yml
2 parents 5a0abb5 + 44c0f16 commit 2da9648

2 files changed

Lines changed: 46 additions & 0 deletions

File tree

.github/workflows/CI.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: CI
2+
3+
env:
4+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5+
6+
on:
7+
push:
8+
branches: [main]
9+
pull_request:
10+
branches: [main]
11+
workflow_dispatch:
12+
13+
jobs:
14+
build:
15+
strategy:
16+
matrix:
17+
os: [macos-latest, ubuntu-latest, windows-latest]
18+
smalltalk: [Pharo64-13, Pharo64-12, Pharo64-11, Pharo64-10]
19+
20+
runs-on: ${{ matrix.os }}
21+
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
22+
23+
steps:
24+
- uses: actions/checkout@v3
25+
- name: Setup SmalltalkCI
26+
uses: hpi-swa/setup-smalltalkCI@v1
27+
with:
28+
smalltalk-version: ${{ matrix.smalltalk }}
29+
- name: Load and Test
30+
run: smalltalkci -s ${{ matrix.smalltalk }}
31+
shell: bash
32+
timeout-minutes: 15

.smalltalk.ston

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'ContainersBinarySearchTree',
5+
#directory : 'src',
6+
#platforms : [ #pharo ]
7+
}
8+
],
9+
#testing : {
10+
#coverage : {
11+
#packages : [ 'Containers-BinarySearchTree' ]
12+
}
13+
}
14+
}

0 commit comments

Comments
 (0)