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 17, 2024
1 parent 4e24ebe commit 061c7b0
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
21 changes: 15 additions & 6 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
colima start --arch x86_64
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,8 +266,10 @@ 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
rm -rf ~/.colima
colima delete
colima start --arch x86_64
- name: Download artifacts (Docker images) from previous workflows
uses: actions/download-artifact@v4
- name: Load mock-login-consent server
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 061c7b0

Please sign in to comment.