summaryrefslogtreecommitdiffhomepage
path: root/.github
diff options
context:
space:
mode:
authorAlbin <albin@mullvad.net>2024-09-05 23:58:31 +0200
committerAlbin <albin@mullvad.net>2024-09-06 14:59:55 +0200
commitfca422d5f58e66ad8fc364b2ae3d393d3c9ec5e3 (patch)
treee5b0efdd66bdc77ee6b4ff16d3a23db854f5a213 /.github
parent5367c566e3e1928f423b02abd99ea1368348c48a (diff)
downloadmullvadvpn-fca422d5f58e66ad8fc364b2ae3d393d3c9ec5e3.tar.xz
mullvadvpn-fca422d5f58e66ad8fc364b2ae3d393d3c9ec5e3.zip
Install cbindgen in build script and workflow
Temporary fix to address maybenot.h (checked in) sometimes needing to be re-generated due to how `make` looks at last-modifications while git neither stores nor consistently sets modification metadata on file checkout. NOTE: The version should match the one used in the checked in maybenot.h file.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/android-app.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/android-app.yml b/.github/workflows/android-app.yml
index 204b84ed5a..b098d346f7 100644
--- a/.github/workflows/android-app.yml
+++ b/.github/workflows/android-app.yml
@@ -206,6 +206,8 @@ jobs:
RUSTFLAGS: --deny warnings
BUILD_TYPE: debug
run: |
+ # Temporary fix to address maybenot.h build issues.
+ cargo install --force cbindgen --version "0.26.0"
ARCHITECTURES="${{ matrix.abi }}"
UNSTRIPPED_LIB_PATH="$CARGO_TARGET_DIR/${{ matrix.target }}/$BUILD_TYPE/libmullvad_jni.so"
STRIPPED_LIB_PATH="./android/app/build/extraJni/${{ matrix.abi }}/libmullvad_jni.so"