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:
|
|
|
|
- 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:
|
|
|
|
- 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
|