2019-02-27 19:29:33 +00:00
|
|
|
stages:
|
|
|
|
- build
|
|
|
|
|
|
|
|
build:sh4-gcc:
|
|
|
|
stage: build
|
|
|
|
image: kazade/dreamcast-sdk
|
|
|
|
script:
|
|
|
|
- source /etc/bash.bashrc
|
2021-04-09 15:24:47 +00:00
|
|
|
- mkdir builddir
|
|
|
|
- cd builddir
|
2021-04-23 08:11:13 +00:00
|
|
|
- cmake -DCMAKE_TOOLCHAIN_FILE=../toolchains/Dreamcast.cmake -DCMAKE_BUILD_TYPE=Release ..
|
2021-04-09 15:24:47 +00:00
|
|
|
- make
|
2021-04-23 08:11:13 +00:00
|
|
|
- tar -zcf gldc.tar.gz libGLdc.a ../LICENSE ../README.md ../include
|
|
|
|
artifacts:
|
|
|
|
paths:
|
2021-04-24 10:31:11 +00:00
|
|
|
- builddir/gldc.tar.gz
|
2021-04-09 15:24:47 +00:00
|
|
|
|
|
|
|
build:x86-gcc:
|
|
|
|
stage: build
|
|
|
|
image: fedora:33
|
|
|
|
before_script:
|
|
|
|
- sudo dnf install -y cmake gcc gcc-c++ SDL2-devel.i686 glibc-devel.i686
|
|
|
|
script:
|
|
|
|
- mkdir builddir
|
|
|
|
- cd builddir
|
2021-04-23 08:11:13 +00:00
|
|
|
- cmake -DCMAKE_BUILD_TYPE=Release ..
|
2021-04-09 15:24:47 +00:00
|
|
|
- make
|