Eliminate the need for run() wrapper in the test-suite #1434
Workflow file for this run
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: Linux CI | |
on: [push, pull_request] | |
jobs: | |
build_and_test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build the Fedora testing environment | |
run: ./mktree.oci build | |
working-directory: ./tests | |
- name: Fix kernel mmap rnd bits | |
# High entropy setting in GH runner images >= 20240310.1.0 | |
# causes ASAN blowing up here and there: | |
# https://github.com/actions/runner-images/issues/9491 | |
run: sudo sysctl vm.mmap_rnd_bits=28 | |
- name: Run the test suite | |
run: ./mktree.oci check --interactive=false -j$(nproc) | |
working-directory: ./tests | |
env: | |
MKTREE_ENGINE: docker |