Newer
Older
- nix-shell --run "hlint --version; hlint -j obelisk/frontend"
cabal-build-and-test:
stage: build
script:
- nix-shell --run "cd obelisk; cabal build frontend"
stage: build
script:
- cd obelisk
- nix-build -A android.frontend -o result-android
artifacts:
paths:
- obelisk/result-android/android-app-debug.apk
stage: build
script:
- cd obelisk
- nix-build -A android.frontend.release -o result-android-release
artifacts:
paths:
- obelisk/result-android-release/android-app-release-unsigned.apk
stage: build
script:
- cd obelisk
- nix-build -A android.frontend.bundle -o result-android-bundle
artifacts:
paths:
- obelisk/result-android-bundle/android-app.aab
build-signed-release-apk:
stage: build
script:
- |
keytool \
-genkey \
-v \
-keystore ./android-release.keystore \
-alias release \
-keyalg RSA \
-keysize 2048 \
-validity 36500 \
-keypass insecurepasswordforci \
-storepass insecurepasswordforci \
-dname "OU=Testing;O=PrivateStorage"
- cd obelisk
- nix-build -A android.frontend.release -o result-android-release
artifacts:
paths:
- obelisk/result-android-release/android-app-release-unsigned.apk
build-signed-release-bundle:
stage: build
script:
- |
keytool \
-genkey \
-v \
-keystore ./android-release.keystore \
-alias release \
-keyalg RSA \
-keysize 2048 \
-validity 36500 \
-keypass insecurepasswordforci \
-storepass insecurepasswordforci \
-dname "OU=Testing;O=PrivateStorage"
- cd obelisk
- nix-build -A android.frontend.bundle -o result-android-bundle
artifacts:
paths:
- obelisk/result-android-bundle/android-app.aab