Skip to content

Commit

Permalink
Test
Browse files Browse the repository at this point in the history
  • Loading branch information
NigelBreslaw committed Jan 2, 2024
1 parent a4a2a91 commit 2f8b347
Showing 1 changed file with 38 additions and 26 deletions.
64 changes: 38 additions & 26 deletions native_gg/ios/ci_scripts/ci_post_clone.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,40 +6,52 @@
# Created by NigelBreslaw on 2.1.2024.
#

arch
brew install frum
frum install 3.3.0
ruby -v

if [ "$ARCHITECTURE" == "arm64" ]; then
# For arm64 architecture (Apple Silicon)
arch=arm64
else
# For x86 architecture
arch=x64
fi
# arch

echo "============> Installing Node <============"
curl "https://nodejs.org/dist/v20.10.0/node-v20.10.0-darwin-$arch.tar.gz" -o $HOME/Downloads/node.tar.gz
tar -xf "$HOME/Downloads/node.tar.gz"
NODE_PATH="$PWD/node-v20.10.0-darwin-$arch/bin"
PATH+=":$NODE_PATH"
export PATH
node -v
npm -v
# if [ "$ARCHITECTURE" == "arm64" ]; then
# # For arm64 architecture (Apple Silicon)
# arch=arm64
# else
# # For x86 architecture
# arch=x64
# fi

echo "============> Installing cocoapods <============"
brew install cocoapods
# echo "============> Installing Node <============"
# curl "https://nodejs.org/dist/v20.10.0/node-v20.10.0-darwin-$arch.tar.gz" -o $HOME/Downloads/node.tar.gz
# tar -xf "$HOME/Downloads/node.tar.gz"
# NODE_PATH="$PWD/node-v20.10.0-darwin-$arch/bin"
# PATH+=":$NODE_PATH"
# export PATH
# node -v
# npm -v

# echo "============> Installing chruby <============"
# brew install chruby ruby-install

# echo "============> Installing ruby <============"
# ruby-install ruby 3.3


echo "=======> Installing PNPM"
npm install -g [email protected]

# echo "============> Installing cocoapods <============"
# brew install cocoapods

echo "=====> Moving to build directory"
cd native_gg

echo "=> Install npm dependencies"
pnpm i --frozen-lockfile

echo "=> Install pods"
pnpm run pod-install

# echo "=======> Installing PNPM"
# npm install -g [email protected]


# echo "=====> Moving to build directory"
# cd native_gg

# echo "=> Install npm dependencies"
# pnpm i --frozen-lockfile

# echo "=> Install pods"
# pnpm run pod-install

0 comments on commit 2f8b347

Please sign in to comment.