Skip to content

Commit

Permalink
Skip 32 bit x86
Browse files Browse the repository at this point in the history
  • Loading branch information
hhanh00 committed Apr 3, 2022
1 parent 4ae124e commit da9e751
Show file tree
Hide file tree
Showing 9 changed files with 16 additions and 16 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,5 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
with:
files: |
${{ steps.extract.outputs.destination }}/app-arm64-v8a-release.apk
${{ steps.extract.outputs.destination }}/app-armeabi-v7a-release.apk
${{ steps.extract.outputs.destination }}/app-x86_64-release.apk
${{ steps.extract.outputs.destination }}/app-release.aab
3 changes: 0 additions & 3 deletions Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -103,9 +103,6 @@ dependencies = [
"android-armv7",
"android-armv7-release",
"post-android-armv7",
"android-i686",
"android-i686-release",
"post-android-i686",
"android-x86_64",
"android-x86_64-release",
"post-android-x86_64",
Expand Down
3 changes: 3 additions & 0 deletions android/app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@ android {
targetSdkVersion 30
versionCode flutterVersionCode.toInteger()
versionName flutterVersionName
ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a', 'x86_64'
}
}

signingConfigs {
Expand Down
1 change: 0 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
cargo make --profile release
flutter build apk --split-per-abi
flutter build appbundle
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ RUN --mount=type=secret,id=pwd cd /zwallet && ./configure.sh zcash && ./build.sh

FROM alpine:latest
WORKDIR /root
COPY --from=builder /zwallet/build/app/outputs/flutter-apk/* ./
COPY --from=builder /zwallet/build/app/outputs/bundle/release/* ./
2 changes: 1 addition & 1 deletion docker/Dockerfile-dev
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ RUN --mount=type=secret,id=pwd cd /zwallet && ./configure.sh zcash && ./build.sh

FROM alpine:latest
WORKDIR /root
COPY --from=builder2 /zwallet/build/app/outputs/flutter-apk/* ./
COPY --from=builder2 /zwallet/build/app/outputs/bundle/release/* ./
9 changes: 3 additions & 6 deletions install-deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,9 @@ curl -o flutter.tar.xz https://storage.googleapis.com/flutter_infra_release/rele
tar xvf flutter.tar.xz
rm -f flutter.tar.xz

curl -sSL https://git.io/get-mo -o /usr/bin/mo
chmod +x /usr/bin/mo

mkdir /root/.zcash-params
curl https://download.z.cash/downloads/sapling-output.params -o /root/.zcash-params/sapling-output.params
curl https://download.z.cash/downloads/sapling-spend.params -o /root/.zcash-params/sapling-spend.params
mkdir $HOME/.zcash-params
curl https://download.z.cash/downloads/sapling-output.params -o $HOME/.zcash-params/sapling-output.params
curl https://download.z.cash/downloads/sapling-spend.params -o $HOME/.zcash-params/sapling-spend.params

export ANDROID_NDK_HOME=$ANDROID_SDK_ROOT/ndk/21.4.7075529
export PATH=$PATH:/flutter/bin
6 changes: 6 additions & 0 deletions lib/reset.dart
Original file line number Diff line number Diff line change
Expand Up @@ -89,9 +89,12 @@ class FullBackupPage extends StatelessWidget {
child: Column(children: [
TextField(
decoration: InputDecoration(labelText: s.backupEncryptionKey),
minLines: 1,
maxLines: 5,
controller: controller,
readOnly: true,
),
Padding(padding: EdgeInsets.symmetric(vertical: 8)),
ElevatedButton.icon(
onPressed: () => _onSave(context),
icon: Icon(Icons.save),
Expand Down Expand Up @@ -120,8 +123,11 @@ class _FullRestoreState extends State<FullRestorePage> {
body: Card(child: Column(children: [
TextField(
decoration: InputDecoration(labelText: s.backupEncryptionKey),
minLines: 1,
maxLines: 5,
controller: controller,
),
Padding(padding: EdgeInsets.symmetric(vertical: 8)),
ElevatedButton.icon(
onPressed: _onLoad,
icon: Icon(Icons.open_in_new),
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# In iOS, build-name is used as CFBundleShortVersionString while build-number used as CFBundleVersion.
# Read more about iOS versioning at
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
version: 1.2.1+213
version: 1.2.1+214

environment:
sdk: ">=2.12.0 <3.0.0"
Expand Down

0 comments on commit da9e751

Please sign in to comment.