Merge branch 'ckmalloc' of github.com:ClaytonKnittel/malloc-bench int… #80
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: Test | |
| on: | |
| push: | |
| branches: | |
| - ckmalloc | |
| pull_request: | |
| jobs: | |
| check-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Check out ckmalloc | |
| uses: actions/checkout@v4 | |
| with: | |
| path: ckmalloc | |
| submodules: recursive | |
| - uses: bazelbuild/setup-bazelisk@v3 | |
| - name: Mount bazel cache | |
| uses: actions/cache@v4 | |
| env: | |
| cache-name: cache-bazel-v2 | |
| with: | |
| path: "~/.cache/bazel" | |
| key: ${{ env.cache-name }}-${{ hashFiles('ckmalloc/.bazelrc', 'ckmalloc/.bazelversion', 'ckmalloc/WORKSPACE', 'ckmalloc/MODULE.bazel') }} | |
| restore-keys: | | |
| ${{ env.cache-name }}- | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get install libtinfo5 | |
| - name: Test | |
| working-directory: ckmalloc | |
| run: | | |
| bazel test --config=test //... |