Commit ff7c4784 authored by nanahira's avatar nanahira

better ci

parent ebc77c6d
...@@ -133,8 +133,16 @@ mat_windows: ...@@ -133,8 +133,16 @@ mat_windows:
- event - event
- irrlicht - irrlicht
exec_windows: ._exec_build:
stage: build stage: build
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
- bin/
- obj/
exec_windows:
extends: ._exec_build
tags: tags:
- vs - vs
dependencies: dependencies:
...@@ -144,11 +152,6 @@ exec_windows: ...@@ -144,11 +152,6 @@ exec_windows:
variables: variables:
irrklang_pro: '1' irrklang_pro: '1'
USE_IRRKLANG: "1" USE_IRRKLANG: "1"
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
- bin/
- obj/
script: script:
- git submodule update --init - git submodule update --init
- bash -c 'cp -rf premake/* .' - bash -c 'cp -rf premake/* .'
...@@ -161,7 +164,7 @@ exec_windows: ...@@ -161,7 +164,7 @@ exec_windows:
- ygopro.exe - ygopro.exe
exec_linux: exec_linux:
stage: build extends: ._exec_build
tags: tags:
- linux - linux
variables: variables:
...@@ -171,11 +174,6 @@ exec_linux: ...@@ -171,11 +174,6 @@ exec_linux:
- mat_common - mat_common
- mat_irrklang - mat_irrklang
- mat_linux - mat_linux
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
- bin/
- obj/
script: script:
- apt update; apt -y install git build-essential libgl1-mesa-dev libglu-dev libxxf86vm-dev - apt update; apt -y install git build-essential libgl1-mesa-dev libglu-dev libxxf86vm-dev
- git submodule update --init - git submodule update --init
...@@ -193,14 +191,9 @@ exec_linux: ...@@ -193,14 +191,9 @@ exec_linux:
- lib - lib
._exec_macos_platform: ._exec_macos_platform:
stage: build extends: ._exec_build
tags: tags:
- macos - macos
cache:
key: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths:
- bin/
- obj/
script: script:
- ./.ci/exec-macos-platform.sh - ./.ci/exec-macos-platform.sh
artifacts: artifacts:
......
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