Skip to content

Commit

Permalink
fix_: add missing dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
mendelskiv93 committed Oct 22, 2024
1 parent 45b1bde commit 53464d2
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,11 @@ statusgo-cross: statusgo-android statusgo-ios
@echo "Full cross compilation done."
@ls -ld build/bin/statusgo-*

status-go-deps:
go install go.uber.org/mock/[email protected]
go install github.com/kevinburke/go-bindata/v4/[email protected]
go install google.golang.org/protobuf/cmd/[email protected]

statusgo-android: generate
statusgo-android: ##@cross-compile Build status-go for Android
@echo "Building status-go for Android..."
Expand Down
10 changes: 9 additions & 1 deletion _assets/ci/Jenkinsfile.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,19 @@ pipeline {
}
}

stage('Deps') {
steps { script {
shell('make status-go-deps')
}
}
}

stage('Generate') {
steps { script {
shell('make generate')
} }
}
}
}

stage('Build Static Lib') {
steps {
Expand Down
5 changes: 4 additions & 1 deletion nix/shell.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,10 @@ let
isMacM1 = stdenv.isDarwin && stdenv.isAarch64;
isMacIntel = stdenv.isDarwin && stdenv.isx86_64;

apple_sdk = pkgs.darwin.apple_sdk.override { version = "11.0"; };
appleSdk11Stdenv = pkgs.overrideSDK pkgs.stdenv "11.0";
sdk11mkShell = pkgs.mkShell.override { stdenv = appleSdk11Stdenv; };
mkShell = if stdenv.isDarwin then sdk11mkShell else pkgs.mkShell;

/* Lock requires Xcode verison. */
xcodeWrapper = callPackage ./pkgs/xcodeenv/compose-xcodewrapper.nix { } {
versions = ["14.3" "15.1" "15.2" "15.3" "15.4"];
Expand Down

0 comments on commit 53464d2

Please sign in to comment.