Commit 9ce5d9e5 authored by Max Lv's avatar Max Lv

Use debug cargo profile in CI

parent a252f19a
......@@ -13,7 +13,7 @@ jobs:
key: jars-{{ checksum "build.gradle" }}
- run:
name: Run Build and Tests
command: ./gradlew assembleDebug check
command: ./gradlew assembleDebug check -PCARGO_PROFILE=debug
- save_cache:
paths:
- ~/.gradle
......
......@@ -55,7 +55,7 @@ cargo {
module = 'src/main/rust/shadowsocks-rust'
libname = 'sslocal'
targets = ['arm', 'arm64', 'x86', 'x86_64']
profile = 'release'
profile = findProperty('CARGO_PROFILE') ?: 'release'
targetIncludes = ["lib${libname}.so"]
extraCargoBuildArguments = ['--bin', 'sslocal']
features {
......
Subproject commit e96f1beadd18dcadf18c2792cffe390b4f5a9c35
Subproject commit 6cc2ac327b476219872734ad539a273810a58a7d
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment