From 109a18fde11b062a18ceee8df8549315a2a2c122 Mon Sep 17 00:00:00 2001 From: Stefan Marr Date: Sat, 3 Feb 2024 17:09:24 +0000 Subject: [PATCH] Switch to use ASDF for Pharo Signed-off-by: Stefan Marr --- .github/workflows/ci.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 03a36f55..7115f62f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -37,7 +37,7 @@ jobs: run: | git clone --depth 1 https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0 ~/.asdf/bin/asdf plugin add awfy https://github.com/smarr/asdf-awfy.git - if: matrix.id == 'squeak' + if: matrix.id == 'squeak' || matrix.id == 'pharo' - name: Install Crystal if: matrix.id == 'crystal' @@ -50,9 +50,11 @@ jobs: - name: Install Pharo if: matrix.id == 'pharo' - uses: hpi-swa/setup-smalltalkCI@v1 - with: - smalltalk-image: Pharo64-stable + run: | + ~/.asdf/bin/asdf install awfy pharo-120 + cp ~/.asdf/installs/awfy/pharo-120/Pharo*.sources benchmarks/Smalltalk/ + cp ~/.asdf/installs/awfy/pharo-120/Pharo*.image benchmarks/Smalltalk/Pharo.image + cp ~/.asdf/installs/awfy/pharo-120/Pharo*.changes benchmarks/Smalltalk/Pharo.changes - name: Install Squeak if: matrix.id == 'squeak'