This repository was archived by the owner on Nov 5, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-8
lines changed
Expand file tree Collapse file tree 4 files changed +7
-8
lines changed Original file line number Diff line number Diff line change 99env :
1010 CARGO_TERM_COLOR : always
1111
12+ defaults :
13+ run :
14+ shell : bash
15+
1216jobs :
1317 test :
1418 name : ${{ matrix.build.name }}
1721 BUILD_ENV : debug
1822 TARGET : ${{ matrix.build.target }}
1923 CXX : ${{ matrix.build.cxx }}
20- LD : ${{ matrix.build.ld }}
2124 AR : ${{ matrix.build.ar }}
2225 strategy :
2326 fail-fast : false
@@ -27,15 +30,13 @@ jobs:
2730 os : ubuntu-latest
2831 target : x86_64-unknown-linux-gnu
2932 cxx : clang++-12
30- ld : ld.lld-12
3133 ar : llvm-ar-12
3234 run : make tests/run
3335
3436 - name : test on mac (clang)
3537 os : macos-latest
3638 target : x86_64-apple-darwin
3739 cxx : clang++
38- ld : ld
3940 ar : ar
4041 run : |
4142 $CXX --version
@@ -45,15 +46,13 @@ jobs:
4546 os : windows-latest
4647 target : x86_64-pc-windows-msvc
4748 cxx : cl.exe
48- ld : link.exe
4949 run : |
5050 make tests/run
5151
5252 - name : valgrind
5353 os : ubuntu-latest
5454 target : x86_64-unknown-linux-gnu
5555 cxx : clang++-12
56- ld : ld.lld-12
5756 ar : llvm-ar-12
5857 run : |
5958 sudo apt-get update
6564 os : ubuntu-latest
6665 target : x86_64-unknown-linux-gnu
6766 cxx : clang++-12
68- ld : ld.lld-12
6967 ar : llvm-ar-12
7068 run : ASAN_OPTIONS=detect_leaks=1:alloc_dealloc_mismatch=0 CXXFLAGS="-fsanitize=address" make tests/run
7169
Original file line number Diff line number Diff line change 6363 rm -f * .$(O )
6464 rm -f * .$(A )
6565 rm -rf * .dSYM
66+ touch codegen/Cargo.toml
6667
6768check :
6869 CC=$(CC ) ruby assert_defs.rb bindings.hpp bindings.cpp bindings_messages.cpp bindings_nodes.cpp
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ def abort(message)
77end
88
99asset_name = ENV . fetch ( 'ASSET_NAME' ) { abort 'ASSET_NAME env var must be provided.' }
10- asset_url = "https://github.com/lib-ruby-parser/bench/releases/download/v4 .0.0 +ruby-3.1.0 /#{ asset_name } "
10+ asset_url = "https://github.com/lib-ruby-parser/bench/releases/download/4 .0.1 +ruby-3.1.1 /#{ asset_name } "
1111save_as = ENV . fetch ( 'SAVE_AS' ) { abort 'SAVE_AS env var must be provided' }
1212
1313File . open ( save_as , 'wb' ) do |file |
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ default = []
1515tests = []
1616
1717[dependencies ]
18- lib-ruby-parser = {version = " 4.0.0 +ruby-3.1.0 " }
18+ lib-ruby-parser = {version = " 4.0.1 +ruby-3.1.1 " }
1919
2020[profile .dev ]
2121panic = " abort"
You can’t perform that action at this time.
0 commit comments