-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use script content since I am not able to run the file script
- Loading branch information
Showing
1 changed file
with
14 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,16 +10,26 @@ jobs: | |
runs-on: | ||
labels: [tart, macos] | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v3 | ||
|
||
- name: Clone macos-ci-setup repository | ||
run: | | ||
rm -rf ~/macos-ci-setup | ||
git clone -b add-scripts https://[email protected]/SRGSSR/macos-ci-setup.git ~/macos-ci-setup | ||
- name: Install tools | ||
run: | | ||
./pillarbox-config-ci-env.sh | ||
cd ~/macos-ci-setup | ||
./create-vm-for-project.sh $VM_NAME $VM_IMAGE | ||
./clone-repo-in-vm.sh "https://[email protected]/SRGSSR/fake-and-temporary-pa-for-runners.git" $VM_NAME | ||
./brew-fetch-and-sync.sh $VM_NAME mint shellcheck markdownlint-cli yamllint ffmpeg | ||
./run-vm-shell-command.sh $VM_NAME "brew install mint shellcheck markdownlint-cli yamllint ffmpeg" | ||
./run-vm-shell-command.sh $VM_NAME "rbenv install --skip-existing 3.3.5" | ||
./run-vm-shell-command.sh $VM_NAME "echo 'export PATH=\"$HOME/.rbenv/bin:$PATH\"' >> ~/.zshrc" | ||
./run-vm-shell-command.sh $VM_NAME "rbenv init - >> ~/.zshrc" | ||
./run-vm-shell-command.sh $VM_NAME "source ~/.zshrc" | ||
./run-vm-shell-command.sh $VM_NAME "rbenv global 3.3.5" | ||
./run-vm-shell-command.sh $VM_NAME "sudo gem install bundler -v 2.5.22" | ||
./run-vm-shell-command.sh $VM_NAME "curl --location https://github.com/shaka-project/shaka-packager/releases/download/v3.2.0/packager-osx-arm64 -o /opt/homebrew/bin/shaka-packager" | ||
./run-vm-shell-command.sh $VM_NAME "chmod a+x /opt/homebrew/bin/shaka-packager" | ||
./run-vm-shell-command.sh $VM_NAME "source ~/.zshrc" | ||
setup-project: | ||
needs: install-tools | ||
|