Commit b098d2eb authored by wind2009's avatar wind2009

Update ci

update ci
parent f8caa9d7
Pipeline #33856 passed with stages
in 1 minute and 59 seconds
...@@ -11,6 +11,7 @@ export IRRLICHT_LIB_DIR=$PWD/irrlicht ...@@ -11,6 +11,7 @@ export IRRLICHT_LIB_DIR=$PWD/irrlicht
./.ci/libevent-prebuild.sh ./.ci/libevent-prebuild.sh
chmod +x ./premake5
./premake5 gmake --cc=clang --build-freetype --build-sqlite --no-use-irrklang ./premake5 gmake --cc=clang --build-freetype --build-sqlite --no-use-irrklang
cd build cd build
......
...@@ -51,13 +51,13 @@ mat_linux: ...@@ -51,13 +51,13 @@ mat_linux:
script: script:
- apt update; apt -y install git wget tar - apt update; apt -y install git wget tar
- git clone --depth=1 https://code.mycard.moe/mycard/irrlicht-new irrlicht - git clone --depth=1 https://code.mycard.moe/mycard/irrlicht-new irrlicht
- wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-beta2-linux.tar.gz | tar zfx - # - wget -O - https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-beta5-linux.tar.gz | tar zfx -
- env PROCESSOR_COUNT=$(nproc) ./.ci/libevent-prebuild.sh # - env PROCESSOR_COUNT=$(nproc) ./.ci/libevent-prebuild.sh
artifacts: artifacts:
paths: paths:
- premake5 # - premake5
- irrlicht - irrlicht
- libevent-stable # - libevent-stable
image: git-registry.mycard.moe/mycard/docker-runner-base:debian11 image: git-registry.mycard.moe/mycard/docker-runner-base:debian11
mat_windows: mat_windows:
...@@ -67,8 +67,8 @@ mat_windows: ...@@ -67,8 +67,8 @@ mat_windows:
script: script:
- apt update; apt -y install wget tar patch p7zip-full - apt update; apt -y install wget tar patch p7zip-full
# premake5.exe # premake5.exe
- wget https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-beta2-windows.zip - wget https://cdn01.moecube.com/ygopro-build-materials/premake-5.0.0-beta5-windows.zip
- 7z x -y premake-5.0.0-beta2-windows.zip - 7z x -y premake-5.0.0-beta5-windows.zip
# event # event
- wget -O - https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx - - wget -O - https://cdn01.moecube.com/ygopro-build-materials/libevent-2.0.22-stable.tar.gz | tar zfx -
- mv libevent-2.0.22-stable event - mv libevent-2.0.22-stable event
...@@ -117,7 +117,7 @@ exec_linux: ...@@ -117,7 +117,7 @@ exec_linux:
- mat_submodules - mat_submodules
script: script:
- apt update; apt -y install git build-essential - apt update; apt -y install git build-essential
- ./premake5 gmake --build-sqlite --server-zip-support - premake5 gmake --build-sqlite --server-zip-support
- cd build - cd build
- make config=release -j$(nproc) - make config=release -j$(nproc)
- cd .. - cd ..
...@@ -126,7 +126,7 @@ exec_linux: ...@@ -126,7 +126,7 @@ exec_linux:
artifacts: artifacts:
paths: paths:
- ygopro - ygopro
image: git-registry.mycard.moe/mycard/docker-runner-base:debian11 image: git-registry.moenext.com/mycard/docker-ygopro-builder:latest
exec_debian: exec_debian:
extends: ._exec_build extends: ._exec_build
...@@ -138,7 +138,7 @@ exec_debian: ...@@ -138,7 +138,7 @@ exec_debian:
- mat_submodules - mat_submodules
script: script:
- apt update; apt -y install git build-essential liblua5.3-dev libsqlite3-dev libevent-dev - apt update; apt -y install git build-essential liblua5.3-dev libsqlite3-dev libevent-dev
- ./premake5 gmake --lua-deb - premake5 gmake --lua-deb
- cd build - cd build
- make config=release -j$(nproc) - make config=release -j$(nproc)
- cd .. - cd ..
...@@ -147,6 +147,7 @@ exec_debian: ...@@ -147,6 +147,7 @@ exec_debian:
artifacts: artifacts:
paths: paths:
- ygopro - ygopro
image: git-registry.moenext.com/mycard/docker-ygopro-builder:latest
#win_server_pack: #win_server_pack:
# stage: pack # stage: pack
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment