From 5c61dc1bc5e3c05e6d171019777edfe89437c66a Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sat, 27 Feb 2021 13:11:37 -0800 Subject: [PATCH] fix build dir --- .drone.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/.drone.yml b/.drone.yml index 72841f3..f156d83 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,8 @@ steps: commands: - dnf install -y git cmake SDL2-devel - git submodule update --recursive --init - - cmake -DCMAKE_C_COMPILER=/usr/bin/clang -E make_directory ./build + - mkdir ./build + - cmake -DCMAKE_C_COMPILER=/usr/bin/clang ./build - cd ./build - cmake -S .. -B . - make @@ -18,7 +19,8 @@ steps: commands: - dnf install -y git cmake SDL2-devel - git submodule update --recursive --init - - cmake -DCMAKE_C_COMPILER=/usr/bin/mingw64 -E make_directory ./build + - mkdir ./build + - cmake -DCMAKE_C_COMPILER=/usr/bin/mingw64 ./build - cd ./build - cmake -S .. -B . - - make \ No newline at end of file + - make