-
Notifications
You must be signed in to change notification settings - Fork 262
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
75 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Bazel Linux | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
# min hours day(month) month day(week) | ||
- cron: '0 0 7,22 * *' | ||
|
||
jobs: | ||
# Building using the github runner environement directly. | ||
bazel: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Install Bazel | ||
run: | | ||
curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel.gpg | ||
sudo mv bazel.gpg /etc/apt/trusted.gpg.d/ | ||
echo "deb [arch=amd64] https://storage.googleapis.com/bazel-apt stable jdk1.8" | sudo tee /etc/apt/sources.list.d/bazel.list | ||
sudo apt-get update | ||
sudo apt-get install bazel | ||
bazel --version | ||
- name: Build | ||
run: bazel build -c opt --verbose_failures //... | ||
- name: Test | ||
run: bazel test -c opt --verbose_failures //... |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Bazel MacOS | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
# min hours day(month) month day(week) | ||
- cron: '0 0 7,22 * *' | ||
|
||
jobs: | ||
bazel: | ||
runs-on: macos-latest | ||
steps: | ||
- name: Check out repository code | ||
uses: actions/checkout@v2 | ||
- name: Install Bazel | ||
run: | | ||
brew update | ||
#brew install bazel | ||
bazel --version | ||
- name: Build | ||
run: bazel build -c opt --verbose_failures //... | ||
- name: Test | ||
run: bazel test -c opt --verbose_failures //... |
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: Bazel Windows | ||
|
||
on: | ||
push: | ||
pull_request: | ||
schedule: | ||
# min hours day(month) month day(week) | ||
- cron: '0 0 7,22 * *' | ||
|
||
jobs: | ||
# Building using the github runner environement directly. | ||
bazel: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install Bazel | ||
run: | | ||
choco install bazel | ||
bazel --version | ||
- name: Build | ||
run: bazel build -c opt --verbose_failures //... | ||
- name: Test | ||
run: bazel test -c opt --verbose_failures //... |