add: atomic buffer read/write #12
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: Build Project | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| build: | |
| runs-on: macos-14 | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| submodules: recursive | |
| - name: Install dependencies | |
| run: | | |
| brew install llvm | |
| - name: Build project | |
| run: make all | |
| - name: Verify binaries exist | |
| run: | | |
| test -f build/countdown/process1 | |
| test -f build/countdown/process2 | |
| test -f build/buffer_transfer/consumer | |
| test -f build/buffer_transfer/producer | |
| test -f build/ring_buffer/consumer | |
| test -f build/ring_buffer/producer | |
| test -f build/mmap_file/db_creator | |
| test -f build/mmap_file/db_reader | |
| test -f build/mmap_file/db_writer | |
| test -f build/simd_processing/consumer | |
| test -f build/simd_processing/producer | |
| - name: Build tests | |
| run: make tests | |
| - name: Verify test binaries exist | |
| run: | | |
| test -f build/tests/test_vector_functions | |
| - name: Run tests | |
| run: | | |
| # Run the tests - this will fail the workflow if any test fails | |
| make run_tests | |
| echo "All tests passed successfully!" |