X Tutup
Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 27 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,40 @@ jobs:
continue-on-error: ${{ matrix.experimental }}
name: ${{ matrix.smalltalk }}
steps:
- name: Get current date
id: date
run: echo "::set-output name=date::$(date +'%Y-%m-%dT%H:%M:%S')"
- name: Log date
run: echo "${{ steps.date.outputs.date }}"
- name: Set default run status
run: echo "::set-output name=last_run_status::default" > last_run_status
- name: Restore last run status
id: last_run
uses: actions/cache@v2
with:
path: |
last_run_status
key: ${{ github.run_id }}-${{ matrix.smalltalk }}-${{ steps.date.outputs.date }}
restore-keys: |
${{ github.run_id }}-${{ matrix.smalltalk }}-
- name: Set last run status
id: last_run_status
run: cat last_run_status
- uses: actions/checkout@v2
with:
ref: ${{ github.event.workflow_dispatch.ref }}
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: ${{ matrix.smalltalk }}
- name: Fix missing OS prerequisites for GemStone builds
run: |
git clone https://github.com/GsDevKit/GsDevKit_home.git
./GsDevKit_home/bin/utils/installOsPrereqs
continue-on-error: true
if: startsWith(matrix.smalltalk,'GemStone')
- name: Run tests
id: test_run
if: steps.last_run_status.outputs.last_run_status != 'success'
run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 10
timeout-minutes: 20
- name: Save run status
if: steps.last_run_status.outputs.last_run_status != 'success'
run: echo "::set-output name=last_run_status::${{ steps.test_run.outcome }}" > last_run_status
slack-workflow-status:
if: always()
name: Post Workflow Status To Slack
Expand Down
16 changes: 2 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,21 +16,9 @@ Grease does not try to solve all problems. We are not testing Sockets or HTTP cl

Grease is widely adopted. Implementations exist already for all platforms that support Seaside 3.x. As well as Seaside, new versions of Magritte, Pier, and Monticello are already being implemented on top of Grease.

## Platform compatibility and Travis builds
## Platform compatibility

The latest Grease version is supported on the following platforms and versions, which are tested using [Travis CI builds](https://travis-ci.org/SeasideSt/Grease):

| Squeak | Pharo | GemStone |
| --------------- | ---------------- | -------------------- |
| [![Build status: Squeak-5.2](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Squeak-trunk&label=5.2)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Pharo64-9.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo64-9.0&label=9.0)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.6.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.6.0&label=3.6.0)](http://travis-ci.org/SeasideSt/Grease) |
| [![Build status: Squeak-5.1](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Squeak-5.1&label=5.1)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Pharo64-8.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo64-8.0&label=8.0)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.5.5](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.5.5&label=3.5.5)](http://travis-ci.org/SeasideSt/Grease) |
| | [![Build status: Pharo64-7.0](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo64-7.0&label=7.0)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.4.5](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.4.5&label=3.4.5)](http://travis-ci.org/SeasideSt/Grease) |
| | [![Build status: Pharo-6.1](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=Pharo-6.1&label=6.1)](http://travis-ci.org/SeasideSt/Grease) | [![Build status: Gemstone-3.3.9](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.3.9&label=3.3.9)](http://travis-ci.org/SeasideSt/Grease) |
| | | [![Build status: Gemstone-3.2.17](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.2.17&label=3.2.17)](http://travis-ci.org/SeasideSt/Grease) |
| | | [![Build status: Gemstone-3.1.0.6](http://badges.herokuapp.com/travis/SeasideSt/Grease?branch=master&env=BUILD_NAME=GemStone-3.1.0.6&label=3.1.0.6)](http://travis-ci.org/SeasideSt/Grease) |
| | | |

Coveralls (experimental): [![Coverage Status](https://coveralls.io/repos/github/SeasideSt/Grease/badge.svg?branch=test-coveralls)](https://coveralls.io/github/SeasideSt/Grease?branch=test-coveralls)
The latest Grease version is supported on the Pharo and GemStone/S platforms and versions tested in the SmalltalkCI workflow in Github Actions: [![smalltalkCI](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml/badge.svg?branch=master)](https://github.com/SeasideSt/Grease/actions/workflows/ci.yml)

## Installation

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ baselineGemStone: spec
with: [ spec includes: 'Grease-Tests-GemStone-Core' ] ].

spec
for: #( #'gs3.5.4.x' #'gs3.5.5.x' #'gs3.5.6.x' #'gs3.5.7.x' )
for: #( #'gs3.5.4.x' #'gs3.5.5.x' #'gs3.5.6.x' #'gs3.5.7.x' )
do: [
spec
package: 'Grease-GemStone-Core'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ openDebuggerOn: anError
UnhandledError signalForException: anError ]
ifFalse: [
WorldState addDeferredUIMessage: [
process
debug: anError signalerContext
title: anError description
full: true ].
UIManager default
requestDebuggerOpeningForProcess: process
named: anError description
inContext: anError signalerContext ].
process suspend ]

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,15 @@
*Grease-Pharo90-Core
inspectionItems: aBuilder
<inspectorPresentationOrder: 0 title: 'Items'>

^ aBuilder newTable
addColumn: (SpStringTableColumn
title: 'Key'
evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ])
beSortable;
addColumn: (SpStringTableColumn
title: 'Value'
evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ])
beSortable;
items: self associations;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
*Grease-Pharo90-Core
inspectionItems: aBuilder
<inspectorPresentationOrder: 0 title: 'Items'>

^ aBuilder newTable
addColumn: (SpStringTableColumn
title: 'Key'
evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each key ])
beSortable;
addColumn: (SpStringTableColumn
title: 'Value'
evaluated: [ :each | StObjectPrinter asTruncatedTextFrom: each value ])
beSortable;
items: self associations;
yourself
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "GRSmallDictionary2"
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
testing
*Grease-Tests-Pharo-Core
expectedFailures
^ SystemVersion current major < 9
ifTrue: [ #(testCodecUtf8ShortestForm) ]
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"name" : "GRUtf8CodecTest"
}
X Tutup