Commit 404f9823 authored by nanahira's avatar nanahira

ci

parent c9da4c2d
...@@ -7,7 +7,7 @@ stages: ...@@ -7,7 +7,7 @@ stages:
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: "1"
lua: mat_common:
stage: prepare stage: prepare
tags: tags:
- linux - linux
...@@ -16,8 +16,8 @@ lua: ...@@ -16,8 +16,8 @@ lua:
- wget -O - https://mat-cacher.moenext.com/https://www.lua.org/ftp/lua-5.4.8.tar.gz | tar zfx - - wget -O - https://mat-cacher.moenext.com/https://www.lua.org/ftp/lua-5.4.8.tar.gz | tar zfx -
- mv lua-5.4.8 lua - mv lua-5.4.8 lua
- cp premake/lua.lua lua/premake5.lua - cp premake/lua.lua lua/premake5.lua
- wget -O - https://cdn02.moecube.com:444/ygopro-build-materials/sqlite-autoconf-3490100.tar.gz | tar zfx - - wget -O - https://mat-cacher.moenext.com/https://www.sqlite.org/2025/sqlite-autoconf-3500100.tar.gz | tar zfx -
- mv sqlite-autoconf-3490100 sqlite3 - mv sqlite-autoconf-3500100 sqlite3
artifacts: artifacts:
paths: paths:
- lua - lua
...@@ -28,9 +28,8 @@ mat_windows: ...@@ -28,9 +28,8 @@ mat_windows:
tags: tags:
- linux - linux
script: script:
- apt update; apt -y install wget tar patch p7zip-full
# premake5.exe # premake5.exe
- wget https://cdn02.moecube.com:444/ygopro-build-materials/premake-5.0.0-beta7-windows.zip - wget https://cdn02.moecube.com:444/premake5-built/premake-5.0.0-beta7-windows.zip
- 7z x -y premake-5.0.0-beta7-windows.zip - 7z x -y premake-5.0.0-beta7-windows.zip
artifacts: artifacts:
paths: paths:
...@@ -41,9 +40,8 @@ mat_macos: ...@@ -41,9 +40,8 @@ mat_macos:
tags: tags:
- linux - linux
script: script:
- apt update; apt -y install wget tar - wget -O - https://cdn02.moecube.com:444/premake5-built/premake-5.0.0-beta7-macosx.tar.gz | tar zfx -
- wget -O - https://mat-cacher.moenext.com/https://www.sqlite.org/2025/sqlite-autoconf-3500100.tar.gz | tar zfx - - chmod +x premake5
- mv sqlite-autoconf-3500100 sqlite3
artifacts: artifacts:
paths: paths:
- premake5 - premake5
...@@ -53,6 +51,8 @@ mat_macos: ...@@ -53,6 +51,8 @@ mat_macos:
tags: tags:
- linux - linux
image: git-registry.moenext.com/mycard/docker-ygopro-builder image: git-registry.moenext.com/mycard/docker-ygopro-builder
dependencies:
- mat_common
variables: variables:
PREMAKE_OS: linux PREMAKE_OS: linux
BUILD_TYPE: x64 BUILD_TYPE: x64
...@@ -96,8 +96,8 @@ build_wasm: ...@@ -96,8 +96,8 @@ build_wasm:
.build_windows: .build_windows:
stage: build stage: build
dependencies: dependencies:
- mat_common
- mat_windows - mat_windows
- lua
tags: tags:
- vs - vs
before_script: before_script:
...@@ -128,6 +128,9 @@ build_windows_x64: ...@@ -128,6 +128,9 @@ build_windows_x64:
extends: .build_unix extends: .build_unix
tags: tags:
- macos - macos
dependencies:
- mat_common
- mat_macos
variables: variables:
PREMAKE_OS: macosx PREMAKE_OS: macosx
PREMAKE5_PATH: ./premake5 PREMAKE5_PATH: ./premake5
......
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