Skip to content

Commit

Permalink
Merge pull request #1 from labordep/dev-ci
Browse files Browse the repository at this point in the history
Add continuous integration scripts
  • Loading branch information
labordep authored Sep 3, 2023
2 parents 54c8c1a + 81e687d commit 5481568
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'CI'

env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

on:
push:
branches:
- 'master'
pull_request:
types: [assigned, opened, synchronize, reopened]

jobs:
build:
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
smalltalk: [ Pharo64-11, Pharo64-12 ]
runs-on: ${{ matrix.os }}
name: ${{ matrix.smalltalk }} on ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Load in New Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }} ${{ matrix.ston }}
shell: bash
timeout-minutes: 15
13 changes: 13 additions & 0 deletions .smalltalk.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'Gameye',
#platforms : [ #pharo ]
}
],
#testing : {
#include : {
#packages : [ 'Gameye*-Tests' ]
}
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[![License](https://img.shields.io/github/license/labordep/PharoGameye.svg)](./LICENSE)
[![CI](https://github.com/labordep/PharoGameye/actions/workflows/CI.yml/badge.svg)](https://github.com/labordep/PharoGameye/actions/workflows/CI.yml)

# PharoGameye

Expand Down

0 comments on commit 5481568

Please sign in to comment.