-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
Enable CI and fix tests
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
**/*.st linguist-language=Smalltalk |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
"Remove Hermes from system (so I can reload it)" | ||
(RPackageOrganizer default packages select: [:package | package name beginsWith: 'Hermes']) do: [:package | package removeFromSystem ]. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: CI | ||
|
||
on: [ push, pull_request ] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
strategy: | ||
matrix: | ||
smalltalk: [ Pharo64-10, Pharo64-11, Pharo64-12 ] | ||
name: ${{ matrix.smalltalk }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: hpi-swa/setup-smalltalkCI@v1 | ||
with: | ||
smalltalk-version: ${{ matrix.smalltalk }} | ||
- run: smalltalkci -s ${{ matrix.smalltalk }} | ||
shell: bash | ||
timeout-minutes: 15 |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# changes file | ||
*.changes | ||
|
||
# system image | ||
*.image | ||
|
||
# Pharo Smalltalk Debug log file | ||
PharoDebug.log | ||
|
||
# Squeak Smalltalk Debug log file | ||
SqueakDebug.log | ||
|
||
# Monticello package cache | ||
/package-cache | ||
|
||
# playground cache | ||
/play-cache | ||
/play-stash | ||
|
||
# Metacello-github cache | ||
/github-cache | ||
github-*.zip | ||
|
||
**/.DS_STORE |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
'srcDirectory' : '' | ||
'srcDirectory' : 'src' | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
SmalltalkCISpec { | ||
#preLoading : '.github/scripts/preLoading.st', | ||
#loading : [ | ||
SCIMetacelloLoadSpec { | ||
#baseline : 'Hermes', | ||
#directory : 'src' | ||
} | ||
] | ||
} |
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Class { | ||
#name : #BaselineOfHermes, | ||
#superclass : #BaselineOf, | ||
#category : #BaselineOfHermes | ||
} | ||
|
||
{ #category : #baselines } | ||
BaselineOfHermes >> baseline: spec [ | ||
<baseline> | ||
spec for: #common do: [ | ||
|
||
spec | ||
package: 'Hermes'; | ||
package: 'Hermes-Exporter' with: [ spec requires: #('Hermes') ]; | ||
package: 'Hermes-Extensions' with: [ spec requires: #('Hermes') ]; | ||
|
||
package: 'Hermes-Ring2' with: [ spec requires: #('Hermes-Exporter') ]; | ||
|
||
package: 'Hermes-Tests-Classes'; | ||
package: 'Hermes-Tests-External-Package'; | ||
package: 'Hermes-Tests' with: [ spec requires: #('core' 'Hermes-Tests-Classes' 'Hermes-Tests-External-Package') ]; | ||
package: 'Hermes-Tests-Ring' with: [ spec requires: #('core' 'Hermes-Tests-External-Package') ]; | ||
|
||
group: 'core' with: #('Hermes' 'Hermes-Exporter' 'Hermes-Extensions' 'Hermes-Ring2'); | ||
group: 'minimal' with: #('Hermes'); | ||
group: 'test' with: #('Hermes-Tests' 'Hermes-Tests-Classes' 'Hermes-Tests-External-Package') | ||
]. | ||
|
||
spec for: (self pharoVersionsFrom: 11) do: [ | ||
spec | ||
package: 'Hermes-Exporter' with: [ spec includes: #( 'Hermes-Exporter-Pharo11' ) ]; | ||
package: 'Hermes-Exporter-Pharo11' ] | ||
] | ||
|
||
{ #category : #baselines } | ||
BaselineOfHermes >> pharoVersionsFrom: aVersion [ | ||
^ (aVersion to: SystemVersion current major) collect: [ :v | ('pharo' , v asString , '.x') asSymbol ] | ||
] |