We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7652cff commit be169baCopy full SHA for be169ba
.github/workflows/ci.yml
@@ -32,8 +32,17 @@ jobs:
32
run: |
33
# Navigate to the correct project directory
34
cd data-structures/${{ matrix.project }}
35
- # Run the build script for the project
36
- ./build.sh
+ # Create the build directory if it doesn't exist
+ if [ ! -d "build" ]; then
37
+ mkdir build
38
+ fi
39
+ # Run CMake in the build directory
40
+ cd build
41
+ cmake -DCMAKE_CXX_FLAGS="--coverage" -DCMAKE_EXE_LINKER_FLAGS="--coverage" ..
42
+ # Build the project using make
43
+ make
44
+ # Return to the project root directory
45
+ cd ..
46
./bin/test_${{ matrix.project }}
47
./clean.sh
48
# Step 4:
0 commit comments