Hi
I have a question and I could not find the answer in the SmalltalkCI doc
I would like to run my tests on different versions of Pharo
I know how to do it in travis but in GA I missed it.
I read
https://github.com/marketplace/actions/setup-smalltalkci
and tutorials on the net about GA
So I tried
name: test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest ]
pharoversion: [Pharo64-8.0, Pharo64-9.0]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
id: smalltalkci
with:
smalltalk-version: pharoversion
- run: smalltalkci -s ${{ steps.smalltalkci.outputs.pharoversion }}
shell: bash
timeout-minutes: 15
but it failed.
I do not know how to specify the version of Pharo64-8.0 on mac.
S.
Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France
Take a look at
https://github.com/ba-st/Buoy/blob/release-candidate/.github/workflows/build.yml
On Tue, Dec 1, 2020, 13:18 Stéphane Ducasse stephane.ducasse@inria.fr
wrote:
Hi
I have a question and I could not find the answer in the SmalltalkCI doc
I would like to run my tests on different versions of Pharo
I know how to do it in travis but in GA I missed it.
I read
https://github.com/marketplace/actions/setup-smalltalkci
and tutorials on the net about GA
So I tried
name: test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches:
but it failed.
I do not know how to specify the version of Pharo64-8.0 on mac.
S.
Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France
THANKS!!!!
On 1 Dec 2020, at 22:46, Gabriel Cotelli g.cotelli@gmail.com wrote:
Take a look at https://github.com/ba-st/Buoy/blob/release-candidate/.github/workflows/build.yml https://github.com/ba-st/Buoy/blob/release-candidate/.github/workflows/build.yml
On Tue, Dec 1, 2020, 13:18 Stéphane Ducasse <stephane.ducasse@inria.fr mailto:stephane.ducasse@inria.fr> wrote:
Hi
I have a question and I could not find the answer in the SmalltalkCI doc
I would like to run my tests on different versions of Pharo
I know how to do it in travis but in GA I missed it.
I read
https://github.com/marketplace/actions/setup-smalltalkci https://github.com/marketplace/actions/setup-smalltalkci
and tutorials on the net about GA
So I tried
name: test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches:
- master
jobs:
build:
strategy:
fail-fast: false
matrix:
platform: [ubuntu-latest, macos-latest ]
pharoversion: [Pharo64-8.0, Pharo64-9.0]
runs-on: ${{ matrix.platform }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
id: smalltalkci
with:
smalltalk-version: pharoversion
- run: smalltalkci -s ${{ steps.smalltalkci.outputs.pharoversion }}
shell: bash
timeout-minutes: 15
but it failed.
I do not know how to specify the version of Pharo64-8.0 on mac.
S.
Stéphane Ducasse
http://stephane.ducasse.free.fr http://stephane.ducasse.free.fr/ / http://www.pharo.org http://www.pharo.org/
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France
Stéphane Ducasse
http://stephane.ducasse.free.fr / http://www.pharo.org
03 59 35 87 52
Assistant: Aurore Dalle
FAX 03 59 57 78 50
TEL 03 59 35 86 16
S. Ducasse - Inria
40, avenue Halley,
Parc Scientifique de la Haute Borne, Bât.A, Park Plaza
Villeneuve d'Ascq 59650
France
Thanks I thought that the os should be defined as matrix but this not case
S
name: PharoVersion
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
on:
push:
branches:
- master
jobs:
build:
runs-on: [ ubuntu-latest, mac-latest ]
strategy:
matrix:
smalltalk: [ Pharo64-8.0, Pharo64-9.0 ]
name: ${{ matrix.smalltalk }}
steps:
- uses: actions/checkout@v2
- uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-version: ${{ matrix.smalltalk }}
- name: Load Image and Run Tests
run: smalltalkci -s ${{ matrix.smalltalk }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
timeout-minutes: 15