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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
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