Refresh/.drone.yml

25 lines
607 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:13:42 +00:00
- cmake -E make_directory ./build
2021-01-05 07:31:56 +00:00
- cd ./build
2021-02-27 21:13:42 +00:00
- cmake -DCMAKE_C_COMPILER=/usr/bin/clang -S .. -B .
2021-01-05 07:31:56 +00:00
- 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:37:19 +00:00
- cmake -E make_directory ./windows-build
- cd ./windows-build
2021-02-27 21:35:13 +00:00
- mingw64-cmake -S .. -B .
2021-02-27 21:11:37 +00:00
- make