File tree Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Expand file tree Collapse file tree 2 files changed +35
-1
lines changed Original file line number Diff line number Diff line change @@ -263,6 +263,40 @@ jobs:
263
263
cd prusti-contracts/prusti-contracts-test/
264
264
cargo +stable build
265
265
266
+ release-build :
267
+ strategy :
268
+ matrix :
269
+ os : [ubuntu-20.04, ubuntu-22.04, windows-latest, macos-latest]
270
+ fail-fast : false
271
+ runs-on : ${{ matrix.os }}
272
+ steps :
273
+ - name : Check out the repo
274
+ uses : actions/checkout@v3
275
+
276
+ - name : Set up Python 3
277
+ uses : actions/setup-python@v4
278
+ with :
279
+ python-version : ' 3.x'
280
+
281
+ - name : Set up Java
282
+ uses : actions/setup-java@v3
283
+ with :
284
+ java-version : ' 15'
285
+ distribution : ' zulu'
286
+
287
+ - name : Set up the environment
288
+ run : python x.py setup
289
+
290
+ - name : Build workspace with cargo --release
291
+ run : python x.py build --release --jobs=1 --workspace --exclude prusti-contracts-build --verbose
292
+ env :
293
+ CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG : true
294
+
295
+ - name : Build contracts with cargo --release
296
+ run : python x.py build --release --jobs=1 --package prusti-contracts-build --verbose
297
+ env :
298
+ CARGO_PROFILE_RELEASE_BUILD_OVERRIDE_DEBUG : true
299
+
266
300
# Run Prusti on itself.
267
301
# Disabled because of a bug when compiling jni-gen
268
302
test-on-prusti :
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ fn main() {
12
12
) ;
13
13
14
14
let target: PathBuf = [ ".." , "target" ] . iter ( ) . collect ( ) ;
15
- force_reexport_specs ( target. join ( "verify" ) . as_path ( ) ) ;
15
+ // force_reexport_specs(target.join("verify").as_path());
16
16
17
17
// Copy just-built binaries to `target/dir` dir
18
18
let bin_dir = if cfg ! ( debug_assertions) {
You can’t perform that action at this time.
0 commit comments