Skip to content

Commit 36fe7aa

Browse files
authored
add CI
1 parent 9b9d4a5 commit 36fe7aa

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

.github/workflows/ci.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: PUSH CI
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
# events but only for the development branch
5+
on:
6+
push:
7+
branches:
8+
- v*
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
smalltalk: [ Pharo64-12 ]
17+
name: ${{ matrix.smalltalk }}
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
fetch-depth: '0'
22+
- uses: hpi-swa/setup-smalltalkCI@v1
23+
id: smalltalkci
24+
with:
25+
smalltalk-image: ${{ matrix.smalltalk }}
26+
- run: smalltalkci -s ${{ steps.smalltalkci.outputs.smalltalk-image }} .smalltalk.ston
27+
shell: bash
28+
timeout-minutes: 15

.github/workflows/pr.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: PR CI
2+
3+
# Controls when the action will run. Triggers the workflow on push or pull request
4+
# events but only for the development branch
5+
on:
6+
pull_request:
7+
branches:
8+
- v*
9+
- main
10+
11+
jobs:
12+
build:
13+
runs-on: ubuntu-latest
14+
strategy:
15+
matrix:
16+
smalltalk: [ Pharo64-12 ]
17+
name: ${{ matrix.smalltalk }}
18+
steps:
19+
- uses: actions/checkout@v2
20+
with:
21+
fetch-depth: '0'
22+
- uses: hpi-swa/setup-smalltalkCI@v1
23+
id: smalltalkci
24+
with:
25+
smalltalk-image: ${{ matrix.smalltalk }}
26+
- run: smalltalkci -s ${{ steps.smalltalkci.outputs.smalltalk-image }} .smalltalk.ston
27+
shell: bash
28+
timeout-minutes: 15
29+
30+
# Auto Reneraku
31+
- name: Generate a token
32+
id: generate-token
33+
uses: actions/create-github-app-token@v1
34+
with:
35+
app-id: ${{ secrets.AUTO_RENERAKU_APP_ID }}
36+
private-key: ${{ secrets.AUTO_RENERAKU_PRIVATE_KEY }}
37+
- name: AutoReneraku
38+
uses: badetitou/AutoReneraku@main
39+
with:
40+
pat: ${{ steps.generate-token.outputs.token }}

.smalltalk.ston

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
SmalltalkCISpec {
2+
#loading : [
3+
SCIMetacelloLoadSpec {
4+
#baseline : 'LLMAPI',
5+
#directory : 'src',
6+
#ignoreImage : true,
7+
#onConflict : #useIncoming,
8+
#onUpgrade : #useIncoming
9+
}
10+
],
11+
#testing : {
12+
#failOnZeroTests : false,
13+
#coverage : {
14+
#packages : [ 'LLM-API.*' ],
15+
#format : #lcov
16+
}
17+
}
18+
}

0 commit comments

Comments
 (0)