diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 2c37cb0..5730d74 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -12,7 +12,7 @@ jobs: steps: - uses: actions/checkout@v1 - name: Build Makefile with CMake - run: mkdir -p build && cmake -S . -B build + run: cmake -B build -S . - name: Build with Makefile run: make -C build ComSquare - name: Archive production artifact diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3ad80bc..e2ef75c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -22,7 +22,7 @@ jobs: - name: Install Gcovr run: python -m pip install --upgrade pip gcovr - name: Build Makefile with CMake - run: mkdir -p build && cmake -S . -B build + run: cmake -B build -S . - name: Build with Makefile run: make -C build unit_tests - name: Execute tests