Removed flags that we unnecessarily impose upon the user. #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: Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Create build directory | |
run: mkdir build | |
- name: CMake Configure | |
run: cmake -B build -DOpenRAND_ENABLE_TESTS=ON | |
- name: Build project | |
working-directory: ${{github.workspace}}/build | |
run: make -j4 | |
- name: Run tests | |
working-directory: ${{github.workspace}}/build | |
run: ctest -j2 | |