Use forward declarations wherever possible #36
Workflow file for this run
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: Linux build | |
| on: | |
| push: | |
| branches: | |
| - '*' | |
| paths: | |
| - Makefile | |
| - include/** | |
| - src/** | |
| jobs: | |
| linux-build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Cache object files | |
| id: cache-obj-files | |
| uses: actions/cache@v4 | |
| with: | |
| path: obj | |
| key: ${{ runner.os }}-obj-files | |
| - name: Build binary | |
| run: make | |
| - name: Upload binary to artifacts | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: webserv-linux | |
| path: bin/webserv | |
| if-no-files-found: error |