Refresh/.drone.yml

27 lines
623 B
YAML
Raw Normal View History

2021-01-05 07:31:56 +00:00
kind: pipeline
type: docker
name: default
steps:
2021-02-27 21:10:20 +00:00
- name: build-linux
2021-02-27 21:03:23 +00:00
image: thatcosmonaut/moonworks-build
2021-01-05 07:31:56 +00:00
commands:
2021-02-27 21:07:09 +00:00
- dnf install -y git cmake SDL2-devel
2021-01-05 07:31:56 +00:00
- git submodule update --recursive --init
2021-02-27 21:11:37 +00:00
- mkdir ./build
- cmake -DCMAKE_C_COMPILER=/usr/bin/clang ./build
2021-01-05 07:31:56 +00:00
- cd ./build
- cmake -S .. -B .
- make
2021-02-27 21:10:20 +00:00
- name: build-windows
image: thatcosmonaut/moonworks-build
commands:
- dnf install -y git cmake SDL2-devel
- git submodule update --recursive --init
2021-02-27 21:11:37 +00:00
- mkdir ./build
- cmake -DCMAKE_C_COMPILER=/usr/bin/mingw64 ./build
2021-02-27 21:10:20 +00:00
- cd ./build
- cmake -S .. -B .
2021-02-27 21:11:37 +00:00
- make