forked from MoonsideGames/Refresh
35 lines
776 B
YAML
35 lines
776 B
YAML
kind: pipeline
|
|
type: docker
|
|
name: default
|
|
|
|
steps:
|
|
- name: build-linux
|
|
image: thatcosmonaut/moonworks-build
|
|
commands:
|
|
- git submodule update --recursive --init
|
|
- cmake -E make_directory ./build
|
|
- cd ./build
|
|
- cmake -DCMAKE_C_COMPILER=/usr/bin/clang -S .. -B .
|
|
- make
|
|
|
|
- name: build-windows
|
|
image: thatcosmonaut/moonworks-build
|
|
commands:
|
|
- git submodule update --recursive --init
|
|
- cmake -E make_directory ./windows-build
|
|
- cd ./windows-build
|
|
- mingw64-cmake -S .. -B .
|
|
- make
|
|
|
|
- name: gitea_release
|
|
image: plugins/gitea-release
|
|
settings:
|
|
base_url: https://gitea.moonside.games
|
|
api_key:
|
|
from_secret: gitea_token
|
|
files:
|
|
- ./build/libRefresh.so
|
|
- ./windows-build/Refresh.dll
|
|
when:
|
|
event: tag
|