Skip to content

Commit

Permalink
Merge pull request #2332 from moosetechnology/prepare-v8
Browse files Browse the repository at this point in the history
Merge changes from development
  • Loading branch information
ClotildeToullec authored Jan 18, 2021
2 parents 839b7f9 + 2b8c70c commit d2a4e78
Show file tree
Hide file tree
Showing 7,624 changed files with 3,316 additions and 891,859 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
48 changes: 48 additions & 0 deletions .github/workflows/continuous.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
# This is a basic workflow to help you get started with Actions

name: Continuous

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the development branch
on:
push:
branches:
- development
schedule:
# * is a special character in YAML so you have to quote this string
- cron: '0 0 * * *'

jobs:
build:
runs-on: ubuntu-latest
env:
PROJECT_NAME: ${{ matrix.smalltalk }}-Moose
strategy:
matrix:
smalltalk: [ Pharo64-9.0, Pharo64-8.0 ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15

- name: package
run: |
mv /home/runner/.smalltalkCI/_builds/* .
mv TravisCI.image $PROJECT_NAME.image
mv TravisCI.changes $PROJECT_NAME.changes
zip -r $PROJECT_NAME.zip $PROJECT_NAME.image $PROJECT_NAME.changes *.sources pharo.version
ls
- name: Update Release
# You may pin to the exact commit or the version.
# uses: johnwbyrd/update-release@1d5ec4791e40507e5eca3b4dbf90f0b27e7e4979
uses: johnwbyrd/[email protected]
with:
release: 'continuous'
token: ${{ secrets.GITHUB_TOKEN }}
files: ${{ env.PROJECT_NAME }}.zip
48 changes: 48 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: Release

on:
release:
types: [created]

jobs:
build:
runs-on: ubuntu-latest
env:
PROJECT_NAME: ${{ matrix.smalltalk }}-Moose
strategy:
matrix:
smalltalk: [ Pharo64-9.0, Pharo64-8.0 ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15

- name: package
run: |
mv /home/runner/.smalltalkCI/_builds/* .
mv TravisCI.image $PROJECT_NAME.image
mv TravisCI.changes $PROJECT_NAME.changes
zip -r $PROJECT_NAME.zip $PROJECT_NAME.image $PROJECT_NAME.changes *.sources pharo.version
ls
- name: Get release
id: get_release
uses: bruceadams/[email protected]
env:
GITHUB_TOKEN: ${{ github.token }}

- name: Upload Release Asset
id: upload-release-asset
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.get_release.outputs.upload_url }} # This pulls from the CREATE RELEASE step above, referencing it's ID to get its outputs object, which include a `upload_url`. See this blog post for more info: https://jasonet.co/posts/new-features-of-github-actions/#passing-data-to-future-steps
asset_path: ./${{ env.PROJECT_NAME }}.zip
asset_name: ${{ env.PROJECT_NAME }}.zip
asset_content_type: application/zip
27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the development branch
on:
pull_request:
types: [assigned, opened, synchronize, reopened]

jobs:
build:
runs-on: ubuntu-latest
env:
PROJECT_NAME: ${{ matrix.smalltalk }}-Moose
strategy:
matrix:
smalltalk: [ Pharo64-9.0, Pharo64-8.0 ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- run: smalltalkci -s ${{ matrix.smalltalk }}
shell: bash
timeout-minutes: 15
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
**/.DS_Store
.DS_Store
7 changes: 6 additions & 1 deletion .smalltalk.ston
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,10 @@ SmalltalkCISpec {
#baseline : 'Moose',
#directory : 'src'
}
]
],
#testing : {
#include : {
#packages : [ 'Fame.*', 'Famix.*', 'Moose.*' ]
}
}
}
19 changes: 12 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ os:
- linux

smalltalk:
- Pharo64-7.0

smalltalk_config:
- .smalltalk.ston
- .withPharoTests.ston
- Pharo64-9.0
- Pharo64-8.0

matrix:
allow_failures:
- smalltalk_config: .withPharoTests.ston
fast_finish: true

after_success:
- wget -c https://github.com/probonopd/uploadtool/raw/master/upload.sh
- bash upload.sh Pharo.image Pharo.changes

branches:
except:
- /^(?i:continuous)$/

16 changes: 0 additions & 16 deletions .withPharoTests.ston

This file was deleted.

45 changes: 43 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
[![Build Status](https://travis-ci.org/moosetechnology/Moose.svg?branch=development)](https://travis-ci.org/moosetechnology/Moose)

[![Build Status](https://travis-ci.com/moosetechnology/Moose.svg?branch=development)](https://travis-ci.com/moosetechnology/Moose)

![Continuous](https://github.com/moosetechnology/Moose/workflows/Continuous/badge.svg?branch=development)

Moose is an extensive platform for software and data analysis.

Moose is an open source software. It was started at the Software Composition Group from the University of Bern in 1996 and is currently contributed to and used by multiple partners. It offers multiple services ranging from importing and parsing data, to modeling, to measuring, querying, mining, and to building interactive and visual analysis tools.

## Documentation

Please refer to the [moose wiki](https://moosetechnology.github.io/moose-wiki/) for the documentation.

## Installation

### Get a built Moose Image

![Download Moose gif](https://moosetechnology.github.io/moose-wiki/Beginners/res/downloadMoose.gif)

### How to load

**Moose v7**
Expand All @@ -24,6 +36,35 @@ Metacello new
load.
```

### From Github Release

The previous build comes from our jenkins.
You wan also use the releases of github.


To add this project into the pharo launcher:

1. Download the PharoLauncher
2. Open PharoLauncher
3. Open a playground (Ctrl + O, Ctrl + W)
4. Execute the following piece of code

```Smalltalk
| sources |
sources := {
PhLTemplateSource new
type: #HttpListing;
name: 'Moose';
url: 'https://github.com/moosetechnology/Moose/releases';
filterPattern: 'href="([^"]*/Pharo[0-9][^"]*.zip)"';
templateNameFormat: '{6} ({5})' }.
PhLUserTemplateSources sourcesFile writeStreamDo: [ :s |
(STON writer on: s)
newLine: String lf;
prettyPrint: true;
nextPut: sources ]
```

### Learn more
Check out [the official webpage of the Moose project](http://moosetechnology.org).

Expand Down
26 changes: 0 additions & 26 deletions appveyor.yml

This file was deleted.

Loading

0 comments on commit d2a4e78

Please sign in to comment.