veilidchat/.gitlab-ci.yml
2023-11-19 18:10:44 +00:00

46 lines
1.3 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#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"