@@ -16,31 +16,32 @@ jobs:
16
16
uses : oxidize-rb/actions/fetch-ci-data@v1
17
17
with :
18
18
stable-ruby-versions : |
19
- # See https://github.com/bytecodealliance/wasmtime-rb/issues/286
20
- # for details.
21
- exclude: [head]
19
+ # See https://github.com/bytecodealliance/wasmtime-rb/issues/286
20
+ # for details.
21
+ exclude: [head]
22
22
rspec :
23
- runs-on : ${{ matrix.os }}
24
- needs : ci-data
25
- strategy :
26
- fail-fast : false
27
- matrix :
28
- os : ["ubuntu-latest", "macos-latest"]
29
- ruby : ${{ fromJSON(needs.ci-data.outputs.result).stable-ruby-versions }}
30
- steps :
31
- - uses : actions/checkout@v4
32
- - uses : oxidize-rb/actions/setup-ruby-and-rust@v1
33
- with :
34
- ruby-version : ${{ matrix.ruby }}
35
- bundler-cache : true
36
- cargo-cache : true
37
- cache-version : v5
38
-
39
- - name : Compile rust ext
40
- run : bundle exec rake compile:release
41
-
42
- - name : Run ruby tests
43
- run : bundle exec rake spec
23
+ runs-on : ${{ matrix.os }}
24
+ needs : ci-data
25
+ strategy :
26
+ fail-fast : false
27
+ matrix :
28
+ os : ["ubuntu-latest", "macos-latest"]
29
+ ruby : ${{ fromJSON(needs.ci-data.outputs.result).stable-ruby-versions }}
30
+ rust : ["stable"]
31
+ steps :
32
+ - uses : actions/checkout@v4
33
+ - uses : oxidize-rb/actions/setup-ruby-and-rust@v1
34
+ continue-on-error : true
35
+ with :
36
+ ruby-version : ${{ matrix.ruby }}
37
+ rustup-toolchain : ${{ matrix.rust }}
38
+ bundler-cache : true
39
+ cargo-cache : ${{ matrix.os != 'macos-latest' }}
40
+ cargo-cache-clean : ${{ matrix.os != 'macos-latest' }}
41
+ - name : Run ruby tests
42
+ run : bundle exec rake
43
+ - name : Compile rust ext
44
+ run : bundle exec rake compile:release
44
45
static_type_check :
45
46
name : " Type Check"
46
47
runs-on : ubuntu-latest
0 commit comments