hl_test: allow ptrace to wait on dummy executable #15
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: CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| config: | |
| - {name: "Linux", os: ubuntu-latest} | |
| - {name: "LinuxClang", os: ubuntu-latest} | |
| - {name: "Windows", os: windows-latest} | |
| runs-on: ${{ matrix.config.os }} | |
| name: ${{ matrix.config.name }} | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Requirements (Linux) | |
| if: startsWith(matrix.config.name, 'Linux') | |
| run: sudo apt-get install libx11-dev mesa-common-dev libglu1-mesa-dev libxrender-dev libxfixes-dev libglew-dev libxext-dev | |
| - name: Requirements (LinuxClang) | |
| if: matrix.config.name == 'LinuxClang' | |
| run: sudo apt-get install clang && echo "CC=/usr/bin/clang" >> $GITHUB_ENV && echo "CXX=/usr/bin/clang++" >> $GITHUB_ENV | |
| - name: Configure | |
| run: mkdir build && cd build && cmake .. | |
| - name: Build | |
| run: cd build && cmake --build . | |
| - name: Test | |
| run: cd bin64 && ./hl_test |