Skip to content

Commit

Permalink
Use script content since I am not able to run the file script
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Oct 24, 2024
1 parent 7646d83 commit ac8ca69
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ac8ca69

Please sign in to comment.