Compare commits

..

No commits in common. "0f655f1f1fd4a722a52e5445f1fdffed1ed9744f" and "8b38a5a58d2b6cb276ad475a3289ca475f9ea0db" have entirely different histories.

4 changed files with 10 additions and 11 deletions

View file

@ -14,7 +14,6 @@ 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

View file

@ -2,6 +2,10 @@ 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]
@ -13,7 +17,6 @@ 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
@ -34,9 +37,6 @@ 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:

View file

@ -18,7 +18,6 @@ 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"

View file

@ -15,11 +15,12 @@ android {
externalNativeBuild { externalNativeBuild {
ndkBuild { ndkBuild {
cFlags( if (System.getenv("REPRODUCIBLE_BUILD") != "true") {
"-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/", arguments("-j4")
"-fdebug-prefix-map=${project.projectDir.toString()}=/fake/path/", } else {
"-ffile-prefix-map=${project.projectDir.toString()}=/fake/path/" arguments("-j1")
) cFlags("-fmacro-prefix-map=${project.projectDir.toString()}=/fake/path/")
}
} }
} }
} }