2023-09-27 13:42:27 -04:00
|
|
|
|
#variables:
|
|
|
|
|
# HOMEBREW_NO_AUTO_UPDATE: 1
|
2023-09-27 10:13:15 -04:00
|
|
|
|
|
2023-09-26 22:46:49 -04:00
|
|
|
|
stages:
|
|
|
|
|
- build
|
2023-09-27 10:01:59 -04:00
|
|
|
|
# - test
|
2023-09-26 22:46:49 -04:00
|
|
|
|
|
|
|
|
|
.macos_saas_runners:
|
|
|
|
|
tags:
|
|
|
|
|
- saas-macos-medium-m1
|
|
|
|
|
image: macos-12-xcode-14
|
|
|
|
|
before_script:
|
|
|
|
|
- echo "started by ${GITLAB_USER_NAME}"
|
2023-09-27 10:03:52 -04:00
|
|
|
|
|
|
|
|
|
build:
|
|
|
|
|
extends:
|
|
|
|
|
- .macos_saas_runners
|
|
|
|
|
stage: build
|
2023-09-27 10:01:59 -04:00
|
|
|
|
script:
|
2023-09-27 10:03:52 -04:00
|
|
|
|
- echo "place holder for build"
|
2023-09-27 13:42:27 -04:00
|
|
|
|
- sudo softwareupdate --install-rosetta --agree-to-license
|
2023-09-27 10:06:10 -04:00
|
|
|
|
- git clone https://gitlab.com/veilid/veilid.git ../veilid
|
2023-09-27 10:08:33 -04:00
|
|
|
|
- curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
2023-09-27 10:13:15 -04:00
|
|
|
|
- source "$HOME/.cargo/env"
|
2023-09-27 10:17:35 -04:00
|
|
|
|
- brew install capnp cmake wabt llvm protobuf openjdk@17 jq
|
2023-09-27 10:01:59 -04:00
|
|
|
|
- cargo install wasm-bindgen-cli wasm-pack cargo-edit
|
|
|
|
|
- sudo gem install cocoapods
|
2023-09-27 13:42:27 -04:00
|
|
|
|
- wget https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_3.13.5-stable.zip
|
|
|
|
|
- unzip flutter_macos_arm64_3.13.5-stable.zip && export PATH="$PATH:`pwd`/flutter/bin"
|
2023-09-27 12:25:57 -04:00
|
|
|
|
#- yes | flutter doctor --android-licenses
|
2023-09-27 11:45:59 -04:00
|
|
|
|
- flutter config --enable-macos-desktop --enable-ios
|
|
|
|
|
- flutter config --no-analytics
|
|
|
|
|
- dart --disable-analytics
|
|
|
|
|
- flutter doctor -v
|
|
|
|
|
- flutter build ipa
|
2023-09-28 10:38:50 -04:00
|
|
|
|
when: manual
|
2023-09-26 22:46:49 -04:00
|
|
|
|
|
2023-09-27 10:01:59 -04:00
|
|
|
|
#test:
|
|
|
|
|
# extends:
|
|
|
|
|
# - .macos_saas_runners
|
|
|
|
|
# stage: test
|
|
|
|
|
# script:
|
|
|
|
|
# - echo "place holder for test"
|
2023-09-26 22:46:49 -04:00
|
|
|
|
|