makefile iris_binary #33
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: CMake Build and Test | |
| on: | |
| push: | |
| branches: [ master ] | |
| pull_request: | |
| branches: [ master ] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: sudo apt-get update && sudo apt-get install -y cmake make gcc | |
| - name: Show workspace files | |
| run: ls -lh | |
| - name: Show data.csv contents | |
| run: cat data.csv | |
| - name: Check binary and data file | |
| run: | | |
| file random-forest || true | |
| file data.csv || true | |
| - name: Build with make | |
| run: | | |
| make clean | |
| make | |
| - name: Run make test | |
| run: make test |