separate steps for linux and windows
continuous-integration/drone/push Build is failing Details

pull/1/head
cosmonaut 2021-02-27 13:10:20 -08:00
parent 587f74bf34
commit 2fe0396bcc
1 changed files with 12 additions and 2 deletions

View File

@ -3,12 +3,22 @@ type: docker
name: default name: default
steps: steps:
- name: build - name: build-linux
image: thatcosmonaut/moonworks-build image: thatcosmonaut/moonworks-build
commands: commands:
- dnf install -y git cmake SDL2-devel - dnf install -y git cmake SDL2-devel
- git submodule update --recursive --init - git submodule update --recursive --init
- cmake -E make_directory ./build - cmake -DCMAKE_C_COMPILER=/usr/bin/clang -E make_directory ./build
- cd ./build - cd ./build
- cmake -S .. -B . - cmake -S .. -B .
- make - 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