SmalltalkCI / Github Actions

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

SmalltalkCI / Github Actions

Stéphane Ducasse
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 
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
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

Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkCI / Github Actions

gcotelli

On Tue, Dec 1, 2020, 13:18 Stéphane Ducasse <[hidden email]> 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 
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
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

Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkCI / Github Actions

Stéphane Ducasse
THANKS!!!!


On 1 Dec 2020, at 22:46, Gabriel Cotelli <[hidden email]> wrote:


On Tue, Dec 1, 2020, 13:18 Stéphane Ducasse <[hidden email]> 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 
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
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
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

Reply | Threaded
Open this post in threaded view
|

Re: SmalltalkCI / Github Actions

Stéphane Ducasse
In reply to this post by gcotelli
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