Skip to content

Commit

Permalink
Write in /tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
waliid committed Nov 8, 2024
1 parent f574670 commit 9c6e17d
Showing 1 changed file with 4 additions and 26 deletions.
30 changes: 4 additions & 26 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ env:
vm_name: sequoia-for-pillarbox
vm_image: ghcr.io/cirruslabs/macos-sequoia-xcode:latest
branch_name: ${{ github.head_ref }}
scripts_path: ${{ github.workspace }}/../macos-ci-setup
ci_scripts_path: ${{ github.workspace }}/.github/workflows/scripts
scripts_path: "/tmp/.$vm_name/macos-ci-setup"
ci_scripts_path: "/tmp/.$vm_name/_repo/.github/workflows/scripts"
repo_url:
"https://${{ secrets.MACOS_CI_SETUP_TOKEN }}@github.com/\
${{ github.repository }}.git"
Expand All @@ -21,6 +21,8 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
path: "/tmp/.${{ env.vm_name }}/"

- name: Clone macos-ci-setup repository
run: |
Expand All @@ -45,9 +47,6 @@ jobs:
needs: install-tools
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run test streams
run: |
${{ env.ci_scripts_path }}/vm-run-test-streams.sh \
Expand All @@ -57,9 +56,6 @@ jobs:
needs: install-tools
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Setup project
run: |
${{ env.ci_scripts_path }}/setup-project.sh \
Expand All @@ -69,9 +65,6 @@ jobs:
needs: [install-tools, setup-project]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the quality check
run: |
${{ env.ci_scripts_path }}/run-vm-shell-command.sh \
Expand All @@ -81,9 +74,6 @@ jobs:
needs: [install-tools, run-streams, setup-project]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Resolve SPM dependencies
run: |
${{ env.ci_scripts_path }}/run-vm-shell-command.sh \
Expand All @@ -94,9 +84,6 @@ jobs:
needs: [install-tools, resolve-spm-dependencies]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the iOS tests
run: |
${{ env.ci_scripts_path }}/run-vm-shell-command.sh \
Expand All @@ -107,9 +94,6 @@ jobs:
needs: [install-tools, resolve-spm-dependencies]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Run the tvOS tests
run: |
${{ env.ci_scripts_path }}/run-vm-shell-command.sh \
Expand All @@ -120,9 +104,6 @@ jobs:
needs: [install-tools, test-ios, test-tvos]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Archive the iOS demo
run: |
${{ env.ci_scripts_path }}/run-vm-shell-command.sh \
Expand All @@ -134,9 +115,6 @@ jobs:
needs: [install-tools, test-ios, test-tvos]
runs-on: ${{ needs.install-tools.outputs.runner_group_label }}
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Archive the tvOS demo
run: |
${{ env.ci_scripts_path }}/run-vm-shell-command.sh \
Expand Down

0 comments on commit 9c6e17d

Please sign in to comment.