Skip to content

Commit b4c2130

Browse files
authored
Merge pull request #165 from OpenVoxProject/cicleanup
CI: Test all platforms & Switch to Ruby 4.0
2 parents e692013 + a02fd81 commit b4c2130

1 file changed

Lines changed: 5 additions & 7 deletions

File tree

.github/workflows/runtime_tests.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,18 @@ jobs:
2222
uses: actions/checkout@v6
2323
with:
2424
fetch-depth: 0
25-
- name: Install Ruby version 3.3
25+
- name: Install Ruby version 4.0
2626
uses: ruby/setup-ruby@v1
2727
with:
28-
ruby-version: 3.3
28+
ruby-version: 4.0
2929
bundler-cache: true
30-
30+
- name: Run rubocop
31+
run: bundle exec rubocop
3132
- name: Vanagon inspect
3233
run: |
3334
stat=0
3435
for projfile in configs/projects/[a-z]*.rb; do
35-
for plat in el-8-x86_64 ubuntu-22.04-amd64 windows-all-x64; do
36+
for plat in $(bundle exec vanagon list --platforms | tail -n +2); do
3637
proj=$(basename -s .rb "$projfile")
3738
if [[ "$proj" =~ ^pe- && "$plat" =~ ^(windows|osx) ]]; then
3839
echo Skipping ${proj} on ${plat}, PE projects don\'t support Windows or macOS
@@ -52,9 +53,6 @@ jobs:
5253
false
5354
fi
5455
55-
- name: Run rubocop
56-
run: bundle exec rubocop
57-
5856
# this takes roughly 10 minutes for linux, so it's fine to run it on all PRs
5957
# MacOS / Windows takes ages, so we don't want to run this always
6058
build:

0 commit comments

Comments
 (0)