From 4f0a0b13d499ca18bdd5f993b1421855cbfe5cd0 Mon Sep 17 00:00:00 2001
From: AnonymusRaccoon
Date: Thu, 23 Jan 2020 10:42:11 +0100
Subject: [PATCH] Doing special cmake options with hands
---
.github/workflows/build.yml | 2 +-
.github/workflows/test.yml | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 5730d74..2878fba 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: cmake -B build -S .
+ run: mkdir -p build && cd build && cmake ..
- 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 e2ef75c..b90bf1f 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: cmake -B build -S .
+ run: mkdir -p build && cd build && cmake ..
- name: Build with Makefile
run: make -C build unit_tests
- name: Execute tests