Revise README for clarity and conciseness #14
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: | |
| branches: [ main ] | |
| pull_request: | |
| branches: [ main ] | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: sudo apt-get install -y libncurses-dev libgtest-dev cmake | |
| - name: Build GTest | |
| run: | | |
| cd /usr/src/gtest | |
| sudo cmake . | |
| sudo make | |
| sudo cp lib/*.a /usr/lib/ | |
| - name: Build and test | |
| run: | | |
| mkdir build | |
| cd build | |
| cmake .. | |
| make | |
| ./test_all |