1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-16 06:29:56 +00:00

Switch to Ubuntu Focal for now, until Debian gets latest MyGUI.

This commit is contained in:
psi29a 2021-12-08 09:06:10 +00:00
parent 694f697f61
commit b62b144ec0

View file

@ -3,17 +3,17 @@
stages: stages:
- build - build
.Debian_Image: .Ubuntu_Image:
tags: tags:
- docker - docker
- linux - linux
image: debian:bullseye image: ubuntu:focal
rules: rules:
- if: $CI_PIPELINE_SOURCE == "push" - if: $CI_PIPELINE_SOURCE == "push"
.Debian: .Ubuntu:
extends: .Debian_Image extends: .Ubuntu_Image
cache: cache:
paths: paths:
- apt-cache/ - apt-cache/
@ -35,11 +35,12 @@ stages:
- build/install/ - build/install/
Clang_Tidy: Clang_Tidy:
extends: .Debian_Image extends: .Ubuntu_Image
stage: build stage: build
rules: rules:
- if: '$CI_PIPELINE_SOURCE == "schedule"' - if: '$CI_PIPELINE_SOURCE == "schedule"'
before_script: before_script:
- apt-get update; apt-get -y install software-properties-common; add-apt-repository -y ppa:openmw/openmw
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic clang-tidy clang - CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic clang-tidy clang
script: script:
- CI/before_script.linux.sh - CI/before_script.linux.sh
@ -55,11 +56,12 @@ Clang_Tidy:
expire_in: 1 minute expire_in: 1 minute
Coverity: Coverity:
extends: .Debian_Image extends: .Ubuntu_Image
stage: build stage: build
rules: rules:
- if: $CI_PIPELINE_SOURCE == "schedule" - if: $CI_PIPELINE_SOURCE == "schedule"
before_script: before_script:
- apt-get update; apt-get -y install software-properties-common; add-apt-repository -y ppa:openmw/openmw
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic coverity - CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic coverity
- curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN - curl -o /tmp/cov-analysis-linux64.tgz https://scan.coverity.com/download/linux64 --form project=$COVERITY_SCAN_PROJECT_NAME --form token=$COVERITY_SCAN_TOKEN
- tar xfz /tmp/cov-analysis-linux64.tgz - tar xfz /tmp/cov-analysis-linux64.tgz
@ -81,11 +83,12 @@ Coverity:
paths: [] paths: []
expire_in: 1 minute expire_in: 1 minute
Debian_GCC: Ubuntu_GCC:
extends: .Debian extends: .Ubuntu
cache: cache:
key: Debian_GCC.v2 key: Ubuntu_GCC.v2
before_script: before_script:
- apt-get update; apt-get -y install software-properties-common; add-apt-repository -y ppa:openmw/openmw
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic - CI/install_debian_deps.sh gcc openmw-deps openmw-deps-dynamic
variables: variables:
CC: gcc CC: gcc
@ -94,10 +97,10 @@ Debian_GCC:
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks. # When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
timeout: 2h timeout: 2h
Debian_GCC_tests: Ubuntu_GCC_tests:
extends: Debian_GCC extends: Ubuntu_GCC
cache: cache:
key: Debian_GCC_tests.v2 key: Ubuntu_GCC_tests.v2
variables: variables:
CCACHE_SIZE: 1G CCACHE_SIZE: 1G
BUILD_TESTS_ONLY: 1 BUILD_TESTS_ONLY: 1
@ -105,10 +108,10 @@ Debian_GCC_tests:
paths: [] paths: []
expire_in: 1 minute expire_in: 1 minute
Debian_GCC_tests_Debug: Ubuntu_GCC_tests_Debug:
extends: Debian_GCC extends: Ubuntu_GCC
cache: cache:
key: Debian_GCC_tests_Debug.v1 key: Ubuntu_GCC_tests_Debug.v1
variables: variables:
CCACHE_SIZE: 1G CCACHE_SIZE: 1G
BUILD_TESTS_ONLY: 1 BUILD_TESTS_ONLY: 1
@ -117,24 +120,25 @@ Debian_GCC_tests_Debug:
paths: [] paths: []
expire_in: 1 minute expire_in: 1 minute
Debian_GCC_Static_Deps: Ubuntu_GCC_Static_Deps:
extends: Debian_GCC extends: Ubuntu_GCC
cache: cache:
key: Debian_GCC_Static_Deps key: Ubuntu_GCC_Static_Deps
paths: paths:
- apt-cache/ - apt-cache/
- ccache/ - ccache/
- build/extern/fetched/ - build/extern/fetched/
before_script: before_script:
- apt-get update; apt-get -y install software-properties-common; add-apt-repository -y ppa:openmw/openmw
- CI/install_debian_deps.sh gcc openmw-deps openmw-deps-static - CI/install_debian_deps.sh gcc openmw-deps openmw-deps-static
variables: variables:
CI_OPENMW_USE_STATIC_DEPS: 1 CI_OPENMW_USE_STATIC_DEPS: 1
timeout: 3h timeout: 3h
Debian_GCC_Static_Deps_tests: Ubuntu_GCC_Static_Deps_tests:
extends: Debian_GCC_Static_Deps extends: Ubuntu_GCC_Static_Deps
cache: cache:
key: Debian_GCC_Static_Deps_tests key: Ubuntu_GCC_Static_Deps_tests
variables: variables:
CCACHE_SIZE: 1G CCACHE_SIZE: 1G
BUILD_TESTS_ONLY: 1 BUILD_TESTS_ONLY: 1
@ -142,12 +146,13 @@ Debian_GCC_Static_Deps_tests:
paths: [] paths: []
expire_in: 1 minute expire_in: 1 minute
Debian_Clang: Ubuntu_Clang:
extends: .Debian extends: .Ubuntu
before_script: before_script:
- apt-get update; apt-get -y install software-properties-common; add-apt-repository -y ppa:openmw/openmw
- CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic - CI/install_debian_deps.sh clang openmw-deps openmw-deps-dynamic
cache: cache:
key: Debian_Clang.v2 key: Ubuntu_Clang.v2
variables: variables:
CC: clang CC: clang
CXX: clang++ CXX: clang++
@ -155,10 +160,10 @@ Debian_Clang:
# When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks. # When CCache doesn't exist (e.g. first build on a fork), build takes more than 1h, which is the default for forks.
timeout: 2h timeout: 2h
Debian_Clang_tests: Ubuntu_Clang_tests:
extends: Debian_Clang extends: Ubuntu_Clang
cache: cache:
key: Debian_Clang_tests.v2 key: Ubuntu_Clang_tests.v2
variables: variables:
CCACHE_SIZE: 1G CCACHE_SIZE: 1G
BUILD_TESTS_ONLY: 1 BUILD_TESTS_ONLY: 1
@ -166,10 +171,10 @@ Debian_Clang_tests:
paths: [] paths: []
expire_in: 1 minute expire_in: 1 minute
Debian_Clang_tests_Debug: Ubuntu_Clang_tests_Debug:
extends: Debian_Clang extends: Ubuntu_Clang
cache: cache:
key: Debian_Clang_tests_Debug.v1 key: Ubuntu_Clang_tests_Debug.v1
variables: variables:
CCACHE_SIZE: 1G CCACHE_SIZE: 1G
BUILD_TESTS_ONLY: 1 BUILD_TESTS_ONLY: 1
@ -473,7 +478,7 @@ Windows_MSBuild_Tests_RelWithDebInfo:
paths: [] paths: []
expire_in: 1 minute expire_in: 1 minute
Debian_AndroidNDK_arm64-v8a: Ubuntu_AndroidNDK_arm64-v8a:
tags: tags:
- linux - linux
image: psi29a/android-ndk:focal-ndk22 image: psi29a/android-ndk:focal-ndk22