mirror of
https://gitlab.com/veilid/veilidchat.git
synced 2024-10-01 06:55:46 -04:00
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
#variables:
|
||
# HOMEBREW_NO_AUTO_UPDATE: 1
|
||
|
||
stages:
|
||
- build
|
||
# - test
|
||
|
||
.macos_saas_runners:
|
||
tags:
|
||
- saas-macos-medium-m1
|
||
image: macos-12-xcode-14
|
||
before_script:
|
||
- echo "started by ${GITLAB_USER_NAME}"
|
||
|
||
build:
|
||
extends:
|
||
- .macos_saas_runners
|
||
stage: build
|
||
script:
|
||
- echo "place holder for build"
|
||
- sudo softwareupdate --install-rosetta --agree-to-license
|
||
- git clone https://gitlab.com/veilid/veilid.git ../veilid
|
||
#- curl –proto ‘=https’ –tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
|
||
#- source "$HOME/.cargo/env"
|
||
#- brew install capnp cmake wabt llvm protobuf openjdk@17 jq cocoapods
|
||
#- cargo install wasm-bindgen-cli wasm-pack cargo-edit
|
||
- 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"
|
||
- flutter upgrade
|
||
- yes | flutter doctor --android-licenses
|
||
- flutter config --enable-macos-desktop --enable-ios
|
||
- flutter config --no-analytics
|
||
- dart --disable-analytics
|
||
- flutter doctor -v
|
||
#- flutter build ipa
|
||
#- flutter build appbundle
|
||
when: manual
|
||
|
||
#test:
|
||
# extends:
|
||
# - .macos_saas_runners
|
||
# stage: test
|
||
# script:
|
||
# - echo "place holder for test"
|
||
|