25 lines
563 B
YAML
25 lines
563 B
YAML
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 --cxxopt=-std=c++20 //ortools/... //examples/...
|
|
- name: Test
|
|
run: bazel test --cxxopt=-std=c++20 //ortools/... //examples/...
|