Skip to content

Commit

Permalink
abort virtualbox macos test if not x86 arch
Browse files Browse the repository at this point in the history
  • Loading branch information
medyagh committed Jul 3, 2024
1 parent b2157d6 commit 8c71f04
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -410,6 +410,15 @@ jobs:
SHELL: "/bin/bash" # To prevent https://github.com/kubernetes/minikube/issues/6643
runs-on: macos-12
steps:
- name: Verify x86_64 architecture
shell: bash
run: |
if [ $(uname -m) != "x86_64" ]
then
echo "$(uname -m) detected. This test must be run on x86_64"
exit -1
fi
exit 0
- name: Install kubectl
shell: bash
run: |
Expand Down
9 changes: 9 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,15 @@ jobs:
SHELL: "/bin/bash" # To prevent https://github.com/kubernetes/minikube/issues/6643
runs-on: macos-12
steps:
- name: Verify x86_64 architecture
shell: bash
run: |
if [ $(uname -m) != "x86_64" ]
then
echo "$(uname -m) detected. This test must be run on x86_64"
exit -1
fi
exit 0
- name: Install kubectl
shell: bash
run: |
Expand Down

0 comments on commit 8c71f04

Please sign in to comment.