Skip to content

Commit

Permalink
Fix Squeak
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Marr <[email protected]>
  • Loading branch information
smarr committed Feb 3, 2024
1 parent 9abbe52 commit 7dc35a2
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 53 deletions.
21 changes: 9 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

#- { name: Pharo, id: pharo, folder: Smalltalk }

- { name: Squeak 64-bit, id: squeak64, folder: Smalltalk }
- { name: Squeak, id: squeak, folder: Smalltalk }
- { name: Ruby, id: ruby, folder: Ruby }
- { name: Lua, id: lua, folder: Lua }
- { name: Python, id: python, folder: Python }
Expand All @@ -38,8 +38,8 @@ jobs:
- name: Install asdf and asdf-awfy
run: |
git clone --depth 1 https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
asdf plugin add awfy https://github.com/smarr/asdf-awfy.git
if: matrix.id == 'squeak64'
~/.asdf/bin/asdf plugin add awfy https://github.com/smarr/asdf-awfy.git
if: matrix.id == 'squeak'

- name: Install Crystal
if: matrix.id == 'crystal'
Expand All @@ -56,16 +56,13 @@ jobs:
with:
smalltalk-image: Pharo64-stable

- name: Install Squeak64
if: matrix.id == 'squeak64'
- name: Install Squeak
if: matrix.id == 'squeak'
run: |
~/.asdf/bin/asdf install awfy squeak-6.0-22148
- name: Install Squeak32
if: matrix.id == 'squeak32'
uses: hpi-swa/setup-smalltalkCI@v1
with:
smalltalk-image: Squeak32-5.2
cp ~/.asdf/installs/awfy/squeak-6.0-22148/SqueakV60.sources benchmarks/Smalltalk/
cp ~/.asdf/installs/awfy/squeak-6.0-22148/Squeak*.image benchmarks/Smalltalk/Squeak.image
cp ~/.asdf/installs/awfy/squeak-6.0-22148/Squeak*.changes benchmarks/Smalltalk/Squeak.changes
- name: Install Ruby
if: matrix.id == 'ruby'
Expand Down Expand Up @@ -127,7 +124,7 @@ jobs:

- name: Build
run: |
benchmarks/${{ matrix.folder }}/build.sh
benchmarks/${{ matrix.folder }}/build.sh ${{ matrix.id }}
- name: ReBench Test Run
run: |
Expand Down
29 changes: 0 additions & 29 deletions implementations/build-squeak32.sh

This file was deleted.

17 changes: 5 additions & 12 deletions test.conf
Original file line number Diff line number Diff line change
Expand Up @@ -80,15 +80,10 @@ benchmark_suites:
location: benchmarks/Smalltalk
command: "AWFY_Pharo.image run.st %(benchmark)s 1 "
benchmarks: *BENCHMARKS
test-squeak32:
test-squeak:
gauge_adapter: RebenchLog
location: benchmarks/Smalltalk
command: "AWFY_Squeak32.image $(pwd)/run.st %(benchmark)s 1 "
benchmarks: *BENCHMARKS
test-squeak64:
gauge_adapter: RebenchLog
location: benchmarks/Smalltalk
command: "AWFY_Squeak64.image $(pwd)/run.st %(benchmark)s 1 "
command: "AWFY_Squeak.image $(pwd)/run.st %(benchmark)s 1 "
benchmarks: *BENCHMARKS

test-lua:
Expand Down Expand Up @@ -130,12 +125,10 @@ executors:
Pharo:
path: implementations/
executable: pharo
Squeak32:
path: implementations/
executable: squeak32
Squeak64:
path: implementations/
executable: squeak64
path: /home/runner/.asdf/install/awfy/squeak-6.0-22148/bin/
executable: squeak
args: -headless -nodisplay -nosound
Lua52:
path: .lua/bin
executable: lua5.2
Expand Down

0 comments on commit 7dc35a2

Please sign in to comment.