Skip to content

Commit

Permalink
Install bazel
Browse files Browse the repository at this point in the history
Signed-off-by: Uilian Ries <uilianries@gmail.com>
  • Loading branch information
uilianries committed Oct 8, 2024
1 parent 99a470a commit 5e67b70
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/osx-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ jobs:
/usr/sbin/softwareupdate --install-rosetta --agree-to-license
- name: Install CMake versions
# Install CMake x86_64 and use Rosetta to run. CMake Universal is supported since 3.18 only.
working-directory: /tmp
run: |
for version in 3.15.7 3.16.9 3.17.5; do
Expand Down Expand Up @@ -70,6 +71,14 @@ jobs:
rm cmake-${version}-macos-universal.tar.gz
done
- name: Install Bazel
run: |
for version in 6.3.2 7.1.2; do
mkdir -p ${HOME}/Applications/bazel/${version}
wget -q -O ${HOME}/Applications/bazel/${version}/bazel https://github.com/bazelbuild/bazel/releases/download/${version}/bazel-${version}-darwin-arm64
chmod +x ${HOME}/Applications/bazel/${version}/bazel
done
- name: Install Ninja
run: |
pip install ninja==1.10.2
Expand Down
6 changes: 3 additions & 3 deletions test/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,10 +158,10 @@
"default": "6.3.2",
"6.3.2": {"path": {'Linux': '/usr/share/bazel-6.3.2/bin',
'Windows': 'C:/bazel-6.3.2/bin',
'Darwin': '/Users/jenkins/bazel-6.3.2/bin'}},
'Darwin': '/Users/runner/Applications/bazel/6.3.2/bin'}},
"7.1.2": {"path": {'Linux': '/usr/share/bazel-7.1.2/bin',
'Windows': 'C:/bazel-7.1.2/bin',
'Darwin': '/Users/jenkins/bazel-7.1.2/bin'}},
'Darwin': '/Users/runner/Applications/bazel/7.1.2/bin'}},
},
'premake': {
"exe": "premake5",
Expand All @@ -178,7 +178,7 @@
"exe": "ndk-build",
"default": "system",
"system": {
"path": {'Darwin': f'{homebrew_root}/share/android-ndk'}
"path": {'Darwin': 'Users/runner/Library/Android/sdk'}
}
},
"qbs": {"disabled": True},
Expand Down

0 comments on commit 5e67b70

Please sign in to comment.