From 2fe0396bcc28077bf1461fb5104244398cd5fb9b Mon Sep 17 00:00:00 2001 From: cosmonaut Date: Sat, 27 Feb 2021 13:10:20 -0800 Subject: [PATCH] separate steps for linux and windows --- .drone.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.drone.yml b/.drone.yml index 2935768..72841f3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -3,12 +3,22 @@ type: docker name: default steps: -- name: build +- name: build-linux image: thatcosmonaut/moonworks-build commands: - dnf install -y git cmake SDL2-devel - git submodule update --recursive --init - - cmake -E make_directory ./build + - cmake -DCMAKE_C_COMPILER=/usr/bin/clang -E make_directory ./build - cd ./build - cmake -S .. -B . - make + +- name: build-windows + image: thatcosmonaut/moonworks-build + commands: + - dnf install -y git cmake SDL2-devel + - git submodule update --recursive --init + - cmake -DCMAKE_C_COMPILER=/usr/bin/mingw64 -E make_directory ./build + - cd ./build + - cmake -S .. -B . + - make \ No newline at end of file