Skip to content

Commit

Permalink
deploy CI and edit readme scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
labordep authored Nov 2, 2023
1 parent a57acc5 commit 7089ad7
Show file tree
Hide file tree
Showing 3 changed files with 65 additions and 2 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/Tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: 'Tests'

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: 10
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15 changes: 15 additions & 0 deletions .smalltalk.ston
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
SmalltalkCISpec {
#loading : [
SCIMetacelloLoadSpec {
#baseline : 'Album',
#directory : 'src',
#onConflict : #useIncoming,
#platforms : [ #pharo ]
}
],
#testing : {
#include : {
#packages : [ 'Album*-Tests' ]
}
}
}
24 changes: 22 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,30 @@
[![License](https://img.shields.io/github/license/plantec/Album.svg)](./LICENSE)

[![Tests](https://github.com/plantec/Album/actions/workflows/Tests.yml/badge.svg?branch=master)](https://github.com/plantec/Album/actions/workflows/Tests.yml)
[![Pharo 11](https://img.shields.io/badge/Pharo-11-%23aac9ff.svg)](https://pharo.org/download)
[![Pharo 12](https://img.shields.io/badge/Pharo-12-%23aac9ff.svg)](https://pharo.org/download)

# Album
A fork of the Brick editor.

Album is a text editor library based on Bloc.
Album provide functions to create widgets with advanced text edition features as input field, text area, etc.

Originaly forked from Brick project editor.

## Installation

To install the latest version of Album in Pharo you just need to execute the following script:

```Smalltalk
Metacello new
baseline: 'Album';
repository: 'github://plantec/Album/src';
repository: 'github://plantec/Album:master/src';
onConflictUseIncoming;
load
```

To add in your project BaselineOf:

```Smalltalk
spec baseline: 'Album' with: [ spec repository: 'github://plantec/Album:master/src' ].
```

0 comments on commit 7089ad7

Please sign in to comment.