diff --git a/.github/workflows/ci-trunk.yml b/.github/workflows/ci-trunk.yml new file mode 100644 index 00000000..e7141a41 --- /dev/null +++ b/.github/workflows/ci-trunk.yml @@ -0,0 +1,34 @@ +name: CI + +on: + push: + branches: + - dev + - master + pull_request: + branches: + - master + - dev + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + # Select platform(s) + os: [ ubuntu-latest, macos-latest, windows-latest ] + # Select compatible Smalltalk image(s) + smalltalk: [ Squeak64-trunk] + name: ${{ matrix.smalltalk }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - uses: hpi-swa/setup-smalltalkCI@v1 + with: + smalltalk-version: ${{ matrix.smalltalk }} + - run: smalltalkci -s ${{ matrix.smalltalk }} .smalltalk.trunk.ston + shell: bash + timeout-minutes: 15 + env: + # for uploading coverage reports + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4de33f86..c1ed0ce4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -11,7 +11,7 @@ jobs: # Select platform(s) os: [ ubuntu-latest, macos-latest, windows-latest ] # Select compatible Smalltalk image(s) - smalltalk: [ Squeak64-trunk, Squeak64-5.3 ] + smalltalk: [ Squeak64-5.3 ] name: ${{ matrix.smalltalk }} on ${{ matrix.os }} steps: - uses: actions/checkout@v2 diff --git a/.smalltalk.trunk.ston b/.smalltalk.trunk.ston new file mode 100644 index 00000000..38f94d5f --- /dev/null +++ b/.smalltalk.trunk.ston @@ -0,0 +1,19 @@ +SmalltalkCISpec { + #loading : [ + SCIMetacelloLoadSpec { + #baseline : 'SVGMorph', + #directory : 'packages', + #platforms : [ #squeak ], + #load : [ 'tests' ], + #useLatestMetacello : true + } + ], + #preLoading : [ + 'scripts/preLoading.st' + ], + #testing : { + #coverage : { + #packages : [ 'SVG-Morphic', 'SVG-Editor'] + } + } +}