Update CacheManager.h #6
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
| # .github/workflows/build.yml | |
| name: C++ CI | |
| # This action will trigger on every push to the main branch | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| jobs: | |
| build: | |
| # Use the latest version of Ubuntu as the runner | |
| runs-on: ubuntu-latest | |
| steps: | |
| # 1. Check out your repository code so the workflow can access it | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| # 2. The build step | |
| - name: Build the project | |
| run: | | |
| echo "Starting build..." | |
| g++ -std=c++17 -pthread -Iinclude src/*.cpp -o hybrid_cache | |
| echo "Build finished." | |
| # 3. (Optional) A step to run your executable to make sure it works | |
| - name: Run the program | |
| run: | | |
| echo "Running executable..." | |
| ./hybrid_cache |