Function object (Functors) in C++ STL #117
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: C/C++ CI | |
| on: [push, pull_request] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Install dependencies | |
| run: sudo apt-get update && sudo apt-get install -y build-essential cmake | |
| - name: Build with make | |
| run: make | |
| - name: Make executable (optional) | |
| run: chmod +x ./foodDel | |
| - name: Run the executable | |
| run: ./foodDel | |