bazel: add support for qt with hello world example #190
This file contains hidden or 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 Test | |
on: # yamllint disable-line rule:truthy | |
pull_request: | |
branches: ['*'] | |
jobs: | |
bazel_test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cache bazel | |
uses: actions/cache@v2 | |
env: | |
cache-name: bazel-cache | |
with: | |
path: | | |
~/.cache/bazelisk | |
~/.cache/bazel | |
key: ${{ runner.os }}-${{ env.cache-name }}-${{ github.ref }} | |
restore-keys: | | |
${{ runner.os }}-${{ env.cache-name }}-development | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Run Bazel test | |
run: |- | |
bazel test //... |