Interpenetration workflow issue #306
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: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Install dependencies | |
| run: sudo apt-get update && sudo apt-get install -y build-essential cmake | |
| - name: Build with CMake | |
| run: cmake -G "Unix Makefiles" -S build/CMake -B build/CMake && cmake --build build/CMake | |
| - name: Build with Makefile | |
| run: make -C build/make -f makefile | |
| - name: Upload compiled binaries | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: compiled-binaries | |
| path: | | |
| **/* | |
| **/* |