mirror of
https://github.com/mastodon/mastodon-ios.git
synced 2024-12-22 14:24:16 +01:00
chore: add Xcode Cloud scripts
This commit is contained in:
parent
78b2259b8f
commit
5a815cb03b
@ -5,7 +5,6 @@
|
||||
// Created by MainasuK Cirno on 2021-4-27.
|
||||
//
|
||||
|
||||
|
||||
import Foundation
|
||||
import CryptoKit
|
||||
import KeychainAccess
|
||||
|
33
ci_scripts/ci_post_clone.sh
Executable file
33
ci_scripts/ci_post_clone.sh
Executable file
@ -0,0 +1,33 @@
|
||||
#!/bin/zsh
|
||||
|
||||
# Xcode Cloud scripts
|
||||
|
||||
set -xeu
|
||||
set -o pipefail
|
||||
|
||||
# list hardware
|
||||
system_profiler SPSoftwareDataType SPHardwareDataType
|
||||
|
||||
echo $PWD
|
||||
cd $CI_WORKSPACE
|
||||
echo $PWD
|
||||
|
||||
# install rbenv
|
||||
brew install rbenv
|
||||
which ruby
|
||||
echo 'eval "$(rbenv init -)"' >> ~/.zprofile
|
||||
source ~/.zprofile
|
||||
which ruby
|
||||
|
||||
rbenv install 3.0.3
|
||||
rbenv global 3.0.3
|
||||
ruby --version
|
||||
|
||||
# install bundle gem
|
||||
gem install bundler
|
||||
|
||||
# setup gems
|
||||
bundle install
|
||||
|
||||
bundle exec arkana
|
||||
bundle exec pod install
|
Loading…
Reference in New Issue
Block a user