Fix platform-specific issues for darwin and windows #26
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 CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build | |
run: tools/bazel build //... | |
- name: Update Documentation | |
run: tools/bazel run docs:update | |
- name: Commit updated documentation | |
uses: github-actions-x/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
push-branch: 'main' | |
commit-message: 'Update documentation' | |
force-add: 'true' | |
files: docs/anchore.md | |
name: Github Actions | |
email: [email protected] | |
- name: Test | |
run: tools/bazel test //... | |
- name: Compatibility Build 2.0.0 | |
run: cd tests/compatibility/2_0_0 && ../../../tools/bazel build //... | |
- name: Compatibility Test 2.0.0 | |
run: cd tests/compatibility/2_0_0 && ../../../tools/bazel test //... | |
- name: Compatibility Build 2.1.0 | |
run: cd tests/compatibility/2_1_0 && ../../../tools/bazel build //... | |
- name: Compatibility Test 2.1.0 | |
run: cd tests/compatibility/2_1_0 && ../../../tools/bazel test //... | |
- name: Compatibility Build 2.1.2 | |
run: cd tests/compatibility/2_1_2 && ../../../tools/bazel build //... | |
- name: Compatibility Test 2.1.2 | |
run: cd tests/compatibility/2_1_2 && ../../../tools/bazel test //... | |
- name: Compatibility Build 2.2.0 | |
run: cd tests/compatibility/2_2_0 && ../../../tools/bazel build //... | |
- name: Compatibility Test 2.2.0 | |
run: cd tests/compatibility/2_2_0 && ../../../tools/bazel test //... |