Skip to content

Commit

Permalink
Update GitHub Actions to avoid deprecation warnings
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 603e411 commit a399cc9
Showing 1 changed file with 17 additions and 34 deletions.
51 changes: 17 additions & 34 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,44 +9,27 @@ jobs:
fail-fast: false
matrix:
include:
- name: Java
id: java
- { name: Java, id: java, folder: Java }
- { name: SOM, id: som, folder: SOM }
- { name: Crystal, id: crystal, folder: Crystal }
- { name: JavaScript, id: js, folder: JavaScript }
- { name: SOMns, id: somns, folder: SOMns }

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

- name: Crystal
id: crystal

- name: JavaScript
id: js

- name: SOMns
id: somns

# - name: Pharo
# id: pharo

- name: Squeak 64-bit
id: squeak64

- name: Ruby
id: ruby

- name: Lua 5.2
id: lua

- name: Python
id: python
- { name: Squeak 64-bit, id: squeak64, folder: Smalltalk }
- { name: Ruby, id: ruby, folder: Ruby }
- { name: Lua, id: lua, folder: Lua }
- { name: Python, id: python, folder: Python }

name: ${{ matrix.name }}
steps:
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: "3.11"

- name: Checkout AWFY Repository
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install ReBench
run: |
Expand Down Expand Up @@ -88,17 +71,17 @@ jobs:
uses: leafo/gh-actions-lua@v10
with:
luaVersion: 5.2
if: matrix.id == 'lua52'
if: matrix.id == 'lua'

- name: Install LuaRocks
uses: leafo/gh-actions-luarocks@v4
if: matrix.id == 'lua52'
if: matrix.id == 'lua'

- name: Install LuaCheck and lua5.2 symlink
run: |
luarocks install luacheck
(cd .lua/bin && ln -s lua lua5.2)
if: matrix.id == 'lua52'
if: matrix.id == 'lua'

- name: Install Python
run: |
Expand All @@ -114,12 +97,12 @@ jobs:

- name: Build
run: |
benchmarks/${{ matrix.id }}/build.sh
benchmarks/${{ matrix.folder }}/build.sh
- name: ReBench Test Run
run: |
rebench test.conf test-${{ matrix.id }}
- name: Style Check
run: |
benchmarks/${{ matrix.id }}/build.sh style skip-black-for-python
benchmarks/${{ matrix.folder }}/build.sh style skip-black-for-python

0 comments on commit a399cc9

Please sign in to comment.