Skip to content

Commit

Permalink
ci(app): update macos-13 runner
Browse files Browse the repository at this point in the history
Signed-off-by: Misha Sizov <[email protected]>
  • Loading branch information
mishasizov-SK committed Oct 16, 2024
1 parent 20daea5 commit 121dc38
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 9 deletions.
19 changes: 14 additions & 5 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ jobs:
path: /tmp/mock-attestation.tar

iOSFlutterIntegrationTest:
runs-on: macos-12
runs-on: macos-13
needs: [ BuildMockLoginConsentServer, BuilMockTrustRegistryServer, BuilMockAttestationServer ]
steps:
- name: Checkout
Expand Down Expand Up @@ -186,8 +186,15 @@ jobs:
echo '127.0.0.1 vc-rest-echo.trustbloc.local' | sudo tee -a /etc/hosts
echo '127.0.0.1 api-gateway.trustbloc.local' | sudo tee -a /etc/hosts
echo '127.0.0.1 cognito-mock.trustbloc.local' | sudo tee -a /etc/hosts
brew install docker docker-compose
colima start
brew install docker docker-compose colima
mkdir -p ~/.docker/cli-plugins
ln -sfn /usr/local/opt/docker-compose/bin/docker-compose ~/.docker/cli-plugins/docker-compose
rm -rf ~/.colima
colima delete -f
colima start --vm-type vz
env:
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1
- name: Download artifacts (Docker images) from previous workflows
uses: actions/download-artifact@v4
- name: Load mock-login-consent server
Expand Down Expand Up @@ -229,7 +236,7 @@ jobs:
docker ps -a
AndroidFlutterIntegrationTest:
runs-on: macos-12
runs-on: macos-13
needs: [ BuildMockLoginConsentServer, BuilMockTrustRegistryServer, BuilMockAttestationServer ]
steps:
- name: checkout
Expand Down Expand Up @@ -259,7 +266,9 @@ jobs:
echo '127.0.0.1 vc-rest-echo.trustbloc.local' | sudo tee -a /etc/hosts
echo '127.0.0.1 api-gateway.trustbloc.local' | sudo tee -a /etc/hosts
echo '127.0.0.1 cognito-mock.trustbloc.local' | sudo tee -a /etc/hosts
brew install docker docker-compose
brew install docker docker-compose colima
rm -rf ~/.colima
colima delete -f
colima start
- name: Download artifacts (Docker images) from previous workflows
uses: actions/download-artifact@v4
Expand Down
8 changes: 4 additions & 4 deletions cmd/wallet-sdk-gomobile/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ generate-all-bindings: dependencies gomobile-android-bind gomobile-ios-bind
@make tidy

.PHONY: generate-android-bindings
generate-android-bindings: dependencies gomobile-android-bind
generate-android-bindings: gomobile-android-bind
@make tidy

.PHONY: generate-ios-bindings
generate-ios-bindings: dependencies gomobile-ios-bind
generate-ios-bindings: gomobile-ios-bind
@make tidy

.PHONY: dependencies
Expand All @@ -20,13 +20,13 @@ dependencies:
@go get -u golang.org/x/mobile/cmd/gomobile

.PHONY: gomobile-android-bind
gomobile-android-bind: dependencies
gomobile-android-bind: tidy dependencies
@mkdir -p bindings/android
@echo 'Generating Android bindings...'
@scripts/build_android_bindings.sh

.PHONY: gomobile-ios-bind
gomobile-ios-bind: dependencies
gomobile-ios-bind: tidy dependencies
@mkdir -p bindings/ios
@echo 'Generating iOS bindings...'
@scripts/build_ios_bindings.sh
Expand Down

0 comments on commit 121dc38

Please sign in to comment.