Hacking on IPA CICD

This commit is contained in:
TC 2023-09-27 17:42:27 +00:00
parent 4d4165ee04
commit ef2d4ce308

View File

@ -1,5 +1,5 @@
variables: #variables:
HOMEBREW_NO_AUTO_UPDATE: 1 # HOMEBREW_NO_AUTO_UPDATE: 1
stages: stages:
- build - build
@ -18,14 +18,15 @@ build:
stage: build stage: build
script: script:
- echo "place holder for build" - echo "place holder for build"
- sudo softwareupdate --install-rosetta --agree-to-license
- git clone https://gitlab.com/veilid/veilid.git ../veilid - git clone https://gitlab.com/veilid/veilid.git ../veilid
- curl proto =https tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y - curl proto =https tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y
- source "$HOME/.cargo/env" - source "$HOME/.cargo/env"
- brew install capnp cmake wabt llvm protobuf openjdk@17 jq - brew install capnp cmake wabt llvm protobuf openjdk@17 jq
- cargo install wasm-bindgen-cli wasm-pack cargo-edit - cargo install wasm-bindgen-cli wasm-pack cargo-edit
- sudo gem install cocoapods - sudo gem install cocoapods
- wget https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_3.13.5-stable.zip - wget https://storage.googleapis.com/flutter_infra_release/releases/stable/macos/flutter_macos_arm64_3.13.5-stable.zip
- unzip flutter_macos_3.13.5-stable.zip && export PATH="$PATH:`pwd`/flutter/bin" - unzip flutter_macos_arm64_3.13.5-stable.zip && export PATH="$PATH:`pwd`/flutter/bin"
#- yes | flutter doctor --android-licenses #- yes | flutter doctor --android-licenses
- flutter config --enable-macos-desktop --enable-ios - flutter config --enable-macos-desktop --enable-ios
- flutter config --no-analytics - flutter config --no-analytics