forked from ShuriZma/suyu
Compare commits
9 Commits
master
...
ddutchie/c
Author | SHA1 | Date |
---|---|---|
ddutchie | 73c2c78990 | |
ddutchie | 47ae788afd | |
ddutchie | 2f2fbed1db | |
ddutchie | 4009a72299 | |
ddutchie | 07f19b0bbc | |
ddutchie | cb9e613a7c | |
ddutchie | c5045ff036 | |
ddutchie | abda93ce0f | |
ddutchie | 148fd75d6c |
|
@ -12,8 +12,6 @@ mkdir build || true && cd build
|
||||||
cmake .. \
|
cmake .. \
|
||||||
-DBoost_USE_STATIC_LIBS=ON \
|
-DBoost_USE_STATIC_LIBS=ON \
|
||||||
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
||||||
-DSUYU_USE_PRECOMPILED_HEADERS=OFF \
|
|
||||||
-DDYNARMIC_USE_PRECOMPILED_HEADERS=OFF \
|
|
||||||
-DCMAKE_CXX_FLAGS="-march=x86-64-v2" \
|
-DCMAKE_CXX_FLAGS="-march=x86-64-v2" \
|
||||||
-DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ \
|
-DCMAKE_CXX_COMPILER=/usr/lib/ccache/g++ \
|
||||||
-DCMAKE_C_COMPILER=/usr/lib/ccache/gcc \
|
-DCMAKE_C_COMPILER=/usr/lib/ccache/gcc \
|
||||||
|
@ -26,7 +24,6 @@ cmake .. \
|
||||||
-DSUYU_USE_BUNDLED_FFMPEG=ON \
|
-DSUYU_USE_BUNDLED_FFMPEG=ON \
|
||||||
-DSUYU_ENABLE_LTO=ON \
|
-DSUYU_ENABLE_LTO=ON \
|
||||||
-DSUYU_CRASH_DUMPS=ON \
|
-DSUYU_CRASH_DUMPS=ON \
|
||||||
-DSUYU_USE_FASTER_LD=ON \
|
|
||||||
-GNinja
|
-GNinja
|
||||||
|
|
||||||
ninja
|
ninja
|
||||||
|
|
|
@ -4,7 +4,6 @@
|
||||||
# Build directory
|
# Build directory
|
||||||
[Bb]uild*/
|
[Bb]uild*/
|
||||||
doc-build/
|
doc-build/
|
||||||
cmake-build*/
|
|
||||||
|
|
||||||
# Generated source files
|
# Generated source files
|
||||||
src/common/scm_rev.cpp
|
src/common/scm_rev.cpp
|
||||||
|
@ -15,7 +14,6 @@ dist/english_plurals/generated_en.ts
|
||||||
.idea/
|
.idea/
|
||||||
.vs/
|
.vs/
|
||||||
.vscode/
|
.vscode/
|
||||||
.cache/
|
|
||||||
CMakeLists.txt.user*
|
CMakeLists.txt.user*
|
||||||
|
|
||||||
# *nix related
|
# *nix related
|
||||||
|
|
|
@ -1,22 +1,6 @@
|
||||||
stages:
|
stages:
|
||||||
- format
|
- format
|
||||||
- build
|
- build
|
||||||
|
|
||||||
variables:
|
|
||||||
# https://docs.gitlab.com/ee/ci/runners/configure_runners.html
|
|
||||||
TRANSFER_METER_FREQUENCY: "2s"
|
|
||||||
ARTIFACT_COMPRESSION_LEVEL: "fast"
|
|
||||||
CACHE_COMPRESSION_LEVEL: "fastest"
|
|
||||||
CACHE_REQUEST_TIMEOUT: 5
|
|
||||||
# Use FASTZIP for faster compression in cache and artifacts
|
|
||||||
# https://docs.gitlab.com/runner/configuration/feature-flags.html#available-feature-flags
|
|
||||||
FF_USE_FASTZIP: true
|
|
||||||
|
|
||||||
# Our Variables
|
|
||||||
CACHE_DIR: "$CI_PROJECT_DIR/ccache"
|
|
||||||
CCACHE_DIR: $CACHE_DIR
|
|
||||||
|
|
||||||
|
|
||||||
#CLANG FORMAT - CHECKS CODE FOR FORMATTING ISSUES
|
#CLANG FORMAT - CHECKS CODE FOR FORMATTING ISSUES
|
||||||
clang-format:
|
clang-format:
|
||||||
stage: format
|
stage: format
|
||||||
|
@ -38,14 +22,6 @@ build-linux:
|
||||||
stage: build
|
stage: build
|
||||||
image: suyuemu/cibuild:linux-x64
|
image: suyuemu/cibuild:linux-x64
|
||||||
resource_group: linux-ci
|
resource_group: linux-ci
|
||||||
cache:
|
|
||||||
key: "$CI_COMMIT_REF_NAME-ccache"
|
|
||||||
paths:
|
|
||||||
- $CACHE_DIR
|
|
||||||
before_script:
|
|
||||||
- mkdir -p $CACHE_DIR
|
|
||||||
- chmod -R 777 $CACHE_DIR
|
|
||||||
- ls -la $CACHE_DIR
|
|
||||||
variables:
|
variables:
|
||||||
GIT_SUBMODULE_STRATEGY: recursive
|
GIT_SUBMODULE_STRATEGY: recursive
|
||||||
GIT_SUBMODULE_DEPTH: 1
|
GIT_SUBMODULE_DEPTH: 1
|
||||||
|
|
Loading…
Reference in New Issue