mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-16 12:45:13 +01:00
Merge branch 'ci-cleanup' into 'master'
ci: small cleanups See merge request GNOME/glib!62
This commit is contained in:
commit
8683e029be
@ -14,24 +14,22 @@ variables:
|
|||||||
|
|
||||||
fedora-meson-x86_64:
|
fedora-meson-x86_64:
|
||||||
stage: build
|
stage: build
|
||||||
variables:
|
|
||||||
CFLAGS: "-coverage -ftest-coverage -fprofile-arcs"
|
|
||||||
script:
|
|
||||||
- meson --prefix /usr --libdir /usr/lib64 --buildtype debug --werror -Dsystemtap=true -Ddtrace=true _build .
|
|
||||||
- cd _build
|
|
||||||
- ninja
|
|
||||||
- meson test --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER}
|
|
||||||
- cd ..
|
|
||||||
- mkdir -p _coverage
|
|
||||||
- lcov --rc lcov_branch_coverage=1 --directory . --capture --no-external --output-file "_coverage/${CI_JOB_NAME}.lcov"
|
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
|
variables:
|
||||||
|
CFLAGS: "-coverage -ftest-coverage -fprofile-arcs"
|
||||||
|
script:
|
||||||
|
- meson --buildtype debug --werror -Dsystemtap=true -Ddtrace=true _build .
|
||||||
|
- ninja -C _build
|
||||||
|
- meson test -C _build --timeout-multiplier ${MESON_TEST_TIMEOUT_MULTIPLIER}
|
||||||
|
- mkdir -p _coverage
|
||||||
|
- lcov --rc lcov_branch_coverage=1 --directory . --capture --no-external --output-file "_coverage/${CI_JOB_NAME}.lcov"
|
||||||
artifacts:
|
artifacts:
|
||||||
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
when: always
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- "${CI_PROJECT_DIR}/_build/meson-logs"
|
- "_build/meson-logs"
|
||||||
- "${CI_PROJECT_DIR}/_coverage"
|
- "_coverage"
|
||||||
|
|
||||||
fedora-meson-android_ndk_r16_api21_arm64:
|
fedora-meson-android_ndk_r16_api21_arm64:
|
||||||
stage: build
|
stage: build
|
||||||
@ -42,8 +40,10 @@ fedora-meson-android_ndk_r16_api21_arm64:
|
|||||||
- meson --cross-file=/opt/cross-file-android_ndk_r16_api21_arm64.txt -Diconv=gnu -Dinternal_pcre=true --buildtype debug _build
|
- meson --cross-file=/opt/cross-file-android_ndk_r16_api21_arm64.txt -Diconv=gnu -Dinternal_pcre=true --buildtype debug _build
|
||||||
- ninja -C _build
|
- ninja -C _build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- "${CI_PROJECT_DIR}/_build/meson-logs"
|
- "_build/meson-logs"
|
||||||
|
|
||||||
fedora-meson-mingw64:
|
fedora-meson-mingw64:
|
||||||
stage: build
|
stage: build
|
||||||
@ -54,11 +54,15 @@ fedora-meson-mingw64:
|
|||||||
- meson --cross-file=/opt/cross_file_mingw64.txt --buildtype debug _build
|
- meson --cross-file=/opt/cross_file_mingw64.txt --buildtype debug _build
|
||||||
- ninja -C _build
|
- ninja -C _build
|
||||||
artifacts:
|
artifacts:
|
||||||
|
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
||||||
|
when: always
|
||||||
paths:
|
paths:
|
||||||
- "${CI_PROJECT_DIR}/_build/meson-logs"
|
- "_build/meson-logs"
|
||||||
|
|
||||||
msys2-mingw32:
|
msys2-mingw32:
|
||||||
stage: build
|
stage: build
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
tags:
|
tags:
|
||||||
- win32
|
- win32
|
||||||
variables:
|
variables:
|
||||||
@ -76,6 +80,8 @@ msys2-mingw32:
|
|||||||
|
|
||||||
vs2017-x64:
|
vs2017-x64:
|
||||||
stage: build
|
stage: build
|
||||||
|
except:
|
||||||
|
- tags
|
||||||
tags:
|
tags:
|
||||||
- win32
|
- win32
|
||||||
script:
|
script:
|
||||||
@ -98,13 +104,13 @@ coverage:
|
|||||||
|
|
||||||
pages:
|
pages:
|
||||||
stage: deploy
|
stage: deploy
|
||||||
|
only:
|
||||||
|
- master
|
||||||
script:
|
script:
|
||||||
- mv _coverage/ public/
|
- mv _coverage/ public/
|
||||||
artifacts:
|
artifacts:
|
||||||
paths:
|
paths:
|
||||||
- public
|
- public
|
||||||
only:
|
|
||||||
- master
|
|
||||||
|
|
||||||
dist-job:
|
dist-job:
|
||||||
stage: build
|
stage: build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user