veilidchat/.gitlab-ci.yml

39 lines
1.0 KiB
YAML
Raw Normal View History

2023-09-27 10:13:15 -04:00
variables:
HOMEBREW_NO_AUTO_UPDATE: 1
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 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 10:43:11 -04: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 10:01:59 -04:00
- yes | flutter doctor --android-licenses
- ../veilid/veilid-flutter/setup_flutter.sh
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