File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ jobs:
121121 run : |
122122 ./prepare_build.sh
123123 ${{ matrix.libgccjit_version.env_extra }} ./build.sh ${{ matrix.libgccjit_version.extra }}
124- cargo test ${{ matrix.libgccjit_version.extra }}
124+ ${{ matrix.libgccjit_version.env_extra }} cargo test ${{ matrix.libgccjit_version.extra }}
125125 ./clean_all.sh
126126
127127 - name : Prepare dependencies
Original file line number Diff line number Diff line change @@ -50,6 +50,11 @@ pub fn main_inner(profile: Profile) {
5050 "-o" , exe. to_str ( ) . expect ( "to_str" ) ,
5151 path. to_str ( ) . expect ( "to_str" ) ,
5252 ] ) ;
53+ if let Some ( flags) = option_env ! ( "TEST_FLAGS" ) {
54+ for flag in flags. split_whitespace ( ) {
55+ compiler. arg ( & flag) ;
56+ }
57+ }
5358 match profile {
5459 Profile :: Debug => { }
5560 Profile :: Release => {
You can’t perform that action at this time.
0 commit comments