Skip to content

Commit 308a87c

Browse files
committed
fix ci
1 parent 3d3bef3 commit 308a87c

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

.github/workflows/android.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ jobs:
2222
run: |
2323
echo 'android.sdk.channel=3' >> gradle.properties
2424
echo 'android.native.buildOutput=verbose' >> gradle.properties
25+
echo 'android.testoptions.manageddevices.emulator.gpu=swiftshader_indirect' >> gradle.properties
26+
echo 'android.experimental.testOptions.managedDevices.emulator.showKernelLogging=true' >> gradle.properties
2527
echo 'org.gradle.jvmargs=-Xmx2048m -Dfile.encoding=UTF-8' >> gradle.properties
2628
echo 'org.gradle.caching=true' >> gradle.properties
2729
@@ -36,6 +38,10 @@ jobs:
3638
git apply boringssl/src/main/native/patchs/*.patch
3739
- name: Setup Gradle
3840
uses: gradle/actions/setup-gradle@v4
41+
with:
42+
build-scan-publish: true
43+
build-scan-terms-of-use-url: "https://gradle.com/terms-of-service"
44+
build-scan-terms-of-use-agree: "yes"
3945
- name: Build with Gradle
4046
run: |
4147
./gradlew :a:assemble

boringssl/src/main/native/Application.mk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
APP_CFLAGS := -Wall -Werror -Wno-unused-parameter -fvisibility=hidden -DOPENSSL_SMALL
1+
APP_CFLAGS := -Wall -Werror -Wno-unused-parameter
2+
APP_CFLAGS := -fno-strict-aliasing -fno-common -fvisibility=hidden -DOPENSSL_SMALL
23
APP_CFLAGS += -Wno-builtin-macro-redefined -D__FILE__=__FILE_NAME__
34
APP_LDFLAGS := -Wl,--icf=all
45
APP_CONLYFLAGS := -std=c17

0 commit comments

Comments
 (0)