Compare commits
4 commits
8b38a5a58d
...
0f655f1f1f
Author | SHA1 | Date | |
---|---|---|---|
Peter Cai | 0f655f1f1f | ||
Peter Cai | 1f6bad4222 | ||
Peter Cai | 03e6380570 | ||
Peter Cai | bf121e07a4 |
|
@ -14,6 +14,7 @@ jobs:
|
||||||
uses: https://gitea.angry.im/actions/checkout@v3
|
uses: https://gitea.angry.im/actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Decode Secret Signing Configuration
|
- name: Decode Secret Signing Configuration
|
||||||
uses: https://gitea.angry.im/actions/base64-to-file@v1
|
uses: https://gitea.angry.im/actions/base64-to-file@v1
|
||||||
|
|
|
@ -2,10 +2,6 @@ on:
|
||||||
push:
|
push:
|
||||||
tags: '*'
|
tags: '*'
|
||||||
|
|
||||||
env:
|
|
||||||
# Enable reproducibility-related build system workarounds
|
|
||||||
REPRODUCIBLE_BUILD: true
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
release:
|
release:
|
||||||
runs-on: [docker, android-app-certs]
|
runs-on: [docker, android-app-certs]
|
||||||
|
@ -17,6 +13,7 @@ jobs:
|
||||||
uses: https://gitea.angry.im/actions/checkout@v3
|
uses: https://gitea.angry.im/actions/checkout@v3
|
||||||
with:
|
with:
|
||||||
submodules: recursive
|
submodules: recursive
|
||||||
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Decode Secret Signing Configuration
|
- name: Decode Secret Signing Configuration
|
||||||
uses: https://gitea.angry.im/actions/base64-to-file@v1
|
uses: https://gitea.angry.im/actions/base64-to-file@v1
|
||||||
|
@ -37,6 +34,9 @@ jobs:
|
||||||
- name: Build Release APK (Unprivileged / EasyEUICC only)
|
- name: Build Release APK (Unprivileged / EasyEUICC only)
|
||||||
run: ./gradlew --no-daemon :app-unpriv:assembleRelease
|
run: ./gradlew --no-daemon :app-unpriv:assembleRelease
|
||||||
|
|
||||||
|
- name: Copy Debug Symbols to Release Path
|
||||||
|
run: cp app-unpriv/build/outputs/native-debug-symbols/jmpRelease/native-debug-symbols.zip app-unpriv/build/outputs/apk/jmp/release/
|
||||||
|
|
||||||
- name: Create Release
|
- name: Create Release
|
||||||
uses: https://gitea.angry.im/actions/forgejo-release@v1
|
uses: https://gitea.angry.im/actions/forgejo-release@v1
|
||||||
with:
|
with:
|
||||||
|
|
|
@ -18,6 +18,7 @@ apply {
|
||||||
android {
|
android {
|
||||||
namespace = "im.angry.easyeuicc"
|
namespace = "im.angry.easyeuicc"
|
||||||
compileSdk = 34
|
compileSdk = 34
|
||||||
|
ndkVersion = "26.1.10909125"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId = "im.angry.easyeuicc"
|
applicationId = "im.angry.easyeuicc"
|
||||||
|
|
|
@ -15,12 +15,11 @@ android {
|
||||||
|
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
ndkBuild {
|
ndkBuild {
|
||||||
if (System.getenv("REPRODUCIBLE_BUILD") != "true") {
|
cFlags(
|
||||||
arguments("-j4")
|
"-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/",
|
||||||
} else {
|
"-fdebug-prefix-map=${project.projectDir.toString()}=/fake/path/",
|
||||||
arguments("-j1")
|
"-ffile-prefix-map=${project.projectDir.toString()}=/fake/path/"
|
||||||
cFlags("-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/")
|
)
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue