File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change @@ -103,3 +103,32 @@ jobs:
103103 DO_FEATURE_MATRIX : true
104104 run : ./contrib/test.sh
105105
106+ ReleaseTests :
107+ name : Release tests with global context enabled
108+ strategy :
109+ matrix :
110+ rust :
111+ - 1.29.0
112+ - beta
113+ - stable
114+ target : [ x86_64-unknown-linux-gnu, x86_64-apple-darwin ]
115+ include :
116+ - target : x86_64-unknown-linux-gnu
117+ os : ubuntu-latest
118+ - target : x86_64-apple-darwin
119+ os : macos-latest
120+ runs-on : ${{ matrix.os }}
121+ steps :
122+ - name : Checkout Crate
123+ uses : actions/checkout@v2
124+ - name : Checkout Toolchain
125+ uses : actions-rs/toolchain@v1
126+ with :
127+ profile : minimal
128+ toolchain : ${{ matrix.rust }}
129+ override : true
130+ - name : Pin cc if rust 1.29
131+ if : matrix.rust == '1.29.0'
132+ run : cargo generate-lockfile --verbose && cargo update -p cc --precise "1.0.41" --verbose
133+ - name : Running cargo in release mode
134+ run : cargo test --features="global-context" --release
You can’t perform that action at this time.
0 commit comments