|
|
@ -6,6 +6,7 @@ image: gcc
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
stage: build
|
|
|
|
stage: build
|
|
|
|
script:
|
|
|
|
script:
|
|
|
|
|
|
|
|
- nproc
|
|
|
|
- apt-get update
|
|
|
|
- apt-get update
|
|
|
|
- apt-get install -y cmake libboost-filesystem-dev libboost-program-options-dev libboost-system-dev
|
|
|
|
- apt-get install -y cmake libboost-filesystem-dev libboost-program-options-dev libboost-system-dev
|
|
|
|
- apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev
|
|
|
|
- apt-get install -y libavcodec-dev libavformat-dev libavutil-dev libswscale-dev libswresample-dev
|
|
|
@ -18,7 +19,7 @@ build:
|
|
|
|
- curl http://ftp.us.debian.org/debian/pool/main/m/mygui/libmygui-dev_3.2.2+dfsg-1_amd64.deb -o libmygui-dev_3.2.2+dfsg-1_amd64.deb
|
|
|
|
- curl http://ftp.us.debian.org/debian/pool/main/m/mygui/libmygui-dev_3.2.2+dfsg-1_amd64.deb -o libmygui-dev_3.2.2+dfsg-1_amd64.deb
|
|
|
|
- dpkg --ignore-depends=libmygui.ogreplatform0debian1v5 -i *.deb
|
|
|
|
- dpkg --ignore-depends=libmygui.ogreplatform0debian1v5 -i *.deb
|
|
|
|
- mkdir build; cd build; cmake ../
|
|
|
|
- mkdir build; cd build; cmake ../
|
|
|
|
- make -j4
|
|
|
|
- make -j3
|
|
|
|
- DESTDIR=artifacts make install
|
|
|
|
- DESTDIR=artifacts make install
|
|
|
|
artifacts:
|
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
paths:
|
|
|
@ -29,7 +30,7 @@ build:
|
|
|
|
- "*.o"
|
|
|
|
- "*.o"
|
|
|
|
|
|
|
|
|
|
|
|
# run tests using the binary built before
|
|
|
|
# run tests using the binary built before
|
|
|
|
#test:
|
|
|
|
test:
|
|
|
|
# stage: test
|
|
|
|
stage: test
|
|
|
|
# script:
|
|
|
|
script:
|
|
|
|
# - ls
|
|
|
|
- true
|
|
|
|