Commit 5e4b94e6 authored by nanahira's avatar nanahira

simplify 888

parent d58d67c0
Pipeline #41410 canceled with stages
in 33 seconds
...@@ -7,6 +7,10 @@ stages: ...@@ -7,6 +7,10 @@ stages:
variables: variables:
GIT_DEPTH: "1" GIT_DEPTH: "1"
.no_888:
except:
- '888'
mat_common: mat_common:
stage: prepare stage: prepare
tags: tags:
...@@ -24,6 +28,7 @@ mat_common: ...@@ -24,6 +28,7 @@ mat_common:
- sqlite3 - sqlite3
mat_windows: mat_windows:
extends: .no_888
stage: prepare stage: prepare
tags: tags:
- linux - linux
...@@ -36,6 +41,7 @@ mat_windows: ...@@ -36,6 +41,7 @@ mat_windows:
- premake5.exe - premake5.exe
mat_macos: mat_macos:
extends: .no_888
stage: prepare stage: prepare
tags: tags:
- linux - linux
...@@ -46,13 +52,20 @@ mat_macos: ...@@ -46,13 +52,20 @@ mat_macos:
paths: paths:
- premake5 - premake5
.build_unix: .build:
extends: .no_888
stage: build stage: build
dependencies:
- mat_common
artifacts:
paths:
- dist
.build_unix:
extends: .build
tags: tags:
- noavx2 - noavx2
image: git-registry.moenext.com/mycard/docker-ygopro-builder:debian11 image: git-registry.moenext.com/mycard/docker-ygopro-builder:debian11
dependencies:
- mat_common
variables: variables:
PREMAKE_OS: linux PREMAKE_OS: linux
BUILD_TYPE: x64 BUILD_TYPE: x64
...@@ -66,12 +79,10 @@ mat_macos: ...@@ -66,12 +79,10 @@ mat_macos:
- mkdir -p dist/$BUILD_TYPE - mkdir -p dist/$BUILD_TYPE
- cp build/bin/$BUILD_TYPE/Release/libocgcore.* dist/$BUILD_TYPE/ - cp build/bin/$BUILD_TYPE/Release/libocgcore.* dist/$BUILD_TYPE/
- cp build/bin/$BUILD_TYPE/Release/libsqlite3.* dist/$BUILD_TYPE/ || true - cp build/bin/$BUILD_TYPE/Release/libsqlite3.* dist/$BUILD_TYPE/ || true
artifacts:
paths:
- dist
build_linux_x64: build_linux_x64:
extends: .build_unix extends: .build_unix
except: []
build_linux_x32: build_linux_x32:
extends: .build_unix extends: .build_unix
...@@ -88,7 +99,7 @@ build_wasm: ...@@ -88,7 +99,7 @@ build_wasm:
image: git-registry.moenext.com/mycard/docker-ygopro-builder:debian12 image: git-registry.moenext.com/mycard/docker-ygopro-builder:debian12
.build_windows: .build_windows:
stage: build extends: .build
dependencies: dependencies:
- mat_common - mat_common
- mat_windows - mat_windows
...@@ -98,9 +109,6 @@ build_wasm: ...@@ -98,9 +109,6 @@ build_wasm:
- copy premake\dll.lua dll.lua - copy premake\dll.lua dll.lua
- '.\premake5.exe vs2019 --file=dll.lua --sqlite3-dir=sqlite3' - '.\premake5.exe vs2019 --file=dll.lua --sqlite3-dir=sqlite3'
- mkdir dist - mkdir dist
artifacts:
paths:
- dist
build_windows_x32: build_windows_x32:
extends: .build_windows extends: .build_windows
...@@ -144,6 +152,7 @@ build_macos_m1: ...@@ -144,6 +152,7 @@ build_macos_m1:
BUILD_TYPE: arm64 BUILD_TYPE: arm64
build_macos: build_macos:
extends: .no_888
stage: combine stage: combine
dependencies: dependencies:
- build_macos_x64 - build_macos_x64
......
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