From c7f7c8a5fde7fba39cbed0000bf6b98369e3a77b Mon Sep 17 00:00:00 2001
From: AnonymusRaccoon
Date: Thu, 23 Jan 2020 10:33:40 +0100
Subject: [PATCH] Creating the build directory with mkdir since github's cmake
doesn't
---
.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 07ac030..2c37cb0 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 -S . -B build
+ run: mkdir -p build && cmake -S . -B build
- 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 a583351..3ad80bc 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 -S . -B build
+ run: mkdir -p build && cmake -S . -B build
- name: Build with Makefile
run: make -C build unit_tests
- name: Execute tests