Add CLI apps, and a flags library #59
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
name: Bazel | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
CARGO_TERM_COLOR: always | |
jobs: | |
check_lints: | |
name: Check Lints | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Check Format | |
run: "./format.sh" | |
build_and_test: | |
name: Build and Test (fastbuild) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Everything | |
run: "./bazel build //... -c fastbuild" | |
- name: Test Everything | |
run: "./bazel test //... -c fastbuild" | |
build_and_test_opt: | |
name: Build and Test (opt) | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Build Everything | |
run: "./bazel build //... -c opt" | |
- name: Test Everything | |
run: "./bazel test //... -c opt" |