veilidchat/.gitlab-ci.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

2023-09-27 14:13:15 +00:00
variables:
HOMEBREW_NO_AUTO_UPDATE: 1
2023-09-27 02:46:49 +00:00
stages:
- build
2023-09-27 14:01:59 +00:00
# - test
2023-09-27 02:46:49 +00: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 14:03:52 +00:00
build:
extends:
- .macos_saas_runners
stage: build
2023-09-27 14:01:59 +00:00
script:
2023-09-27 14:03:52 +00:00
- echo "place holder for build"
2023-09-27 14:06:10 +00:00
- git clone https://gitlab.com/veilid/veilid.git ../veilid
2023-09-27 14:08:33 +00:00
- curl proto =https tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
2023-09-27 14:13:15 +00:00
- source "$HOME/.cargo/env"
2023-09-27 14:17:35 +00:00
- brew install capnp cmake wabt llvm protobuf openjdk@17 jq
2023-09-27 14:01:59 +00:00
- cargo install wasm-bindgen-cli wasm-pack cargo-edit
- sudo gem install cocoapods
2023-09-27 14:43:11 +00:00
- wget https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.13.5-stable.zip
- unzip flutter_macos_3.13.5-stable.zip && export PATH="$PATH:`pwd`/flutter/bin"
2023-09-27 16:25:57 +00:00
#- yes | flutter doctor --android-licenses
2023-09-27 15:45:59 +00:00
- flutter config --enable-macos-desktop --enable-ios
- flutter config --no-analytics
- dart --disable-analytics
- flutter doctor -v
- flutter build ipa
2023-09-27 02:46:49 +00:00
2023-09-27 14:01:59 +00:00
#test:
# extends:
# - .macos_saas_runners
# stage: test
# script:
# - echo "place holder for test"
2023-09-27 02:46:49 +00:00