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:10:20 +00:00
|
|
|
- cmake -DCMAKE_C_COMPILER=/usr/bin/clang -E make_directory ./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
|
|
|
|
- cmake -DCMAKE_C_COMPILER=/usr/bin/mingw64 -E make_directory ./build
|
|
|
|
- cd ./build
|
|
|
|
- cmake -S .. -B .
|
|
|
|
- make
|