mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-02-09 12:25:48 +01:00
ci: factor out cross compilation jobs definitions
This commit is contained in:
parent
cbfa776fc1
commit
b3508123e2
@ -31,33 +31,29 @@ fedora-x86_64:
|
|||||||
- "_build/meson-logs"
|
- "_build/meson-logs"
|
||||||
- "_coverage"
|
- "_coverage"
|
||||||
|
|
||||||
cross-android_api21_arm64:
|
.cross-template: &cross-template
|
||||||
stage: build
|
stage: build
|
||||||
except:
|
except:
|
||||||
- tags
|
- tags
|
||||||
script:
|
|
||||||
# FIXME: add --werror
|
|
||||||
- meson --cross-file=/opt/cross_file_android_api21_arm64.txt -Diconv=gnu -Dinternal_pcre=true --buildtype debug _build
|
|
||||||
- ninja -C _build
|
|
||||||
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:
|
||||||
- "_build/meson-logs"
|
- "_build/meson-logs"
|
||||||
|
|
||||||
|
cross-android_api21_arm64:
|
||||||
|
<<: *cross-template
|
||||||
|
script:
|
||||||
|
# FIXME: add --werror
|
||||||
|
- meson --cross-file=/opt/cross_file_android_arm64_21.txt -Diconv=gnu -Dinternal_pcre=true --buildtype debug _build
|
||||||
|
- ninja -C _build
|
||||||
|
|
||||||
cross-mingw64:
|
cross-mingw64:
|
||||||
stage: build
|
<<: *cross-template
|
||||||
except:
|
|
||||||
- tags
|
|
||||||
script:
|
script:
|
||||||
# FIXME: Add --werror
|
# FIXME: Add --werror
|
||||||
- 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:
|
|
||||||
name: "glib-${CI_JOB_NAME}-${CI_COMMIT_REF_NAME}"
|
|
||||||
when: always
|
|
||||||
paths:
|
|
||||||
- "_build/meson-logs"
|
|
||||||
|
|
||||||
msys2-mingw32:
|
msys2-mingw32:
|
||||||
stage: build
|
stage: build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user