-
Notifications
You must be signed in to change notification settings - Fork 0
/
.gitlab-ci.yml
62 lines (53 loc) · 1.96 KB
/
.gitlab-ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# Test GitLab (GL) scripts
include:
- local: 'test/gl/setup-dkml.gitlab-ci.yml'
test-gl-linux:
extends: .linux:setup-dkml
test-gl-win32:
extends: .win32:setup-dkml
# test-gl-macos:
# extends: .macos:setup-dkml
# Test personal computer (PC) scripts
test-pc-windows:
stage: build # no point waiting for the build phase of `local: 'test/gl/setup-dkml.gitlab-ci.yml'`
parallel:
matrix:
- dkml_host_abi: windows_x86
dkml_target_abi: windows_x86
- dkml_host_abi: windows_x86_64
dkml_target_abi: windows_x86_64
tags:
- saas-windows-medium-amd64
script:
- '& test\pc\setup-dkml-${env:dkml_host_abi}.ps1'
# ------------
# PC Linux does not make sense yet! It uses Docker (dockcross) instead of the host (currently
# it is the Docker image ruby:2.5 per https://docs.gitlab.com/ee/ci/runners/saas/linux_saas_runner.html#saas-runners-on-linux-settings).
# TODO:
# 1. Make use of dockcross contigent on the environment variable MANYLINUX=true (which is the default).
# 2. All GitLab/GitHub templates get MANYLINUX=true while PC templates get MANYLINUX=false.
# 3. Change host Docker image to debian:stable-slim (probably will need some apt-get commands, similar to existing apk add commands, _which should be part of build-test.sh_)
# ------------
#
# test-pc-linux:
# stage: build # no point waiting for the build phase of `local: 'test/gl/setup-dkml.gitlab-ci.yml'`
# tags:
# - saas-linux-large-amd64 # https://about.gitlab.com/blog/2022/09/22/new-machine-types-for-gitlab-saas-runners/
# parallel:
# matrix:
# - dkml_host_abi: linux_x86
# - dkml_host_abi: linux_x86_64
#
# script:
# - sh test/pc/setup-dkml-${dkml_host_abi}.sh
# test-pc-macos:
# stage: build # no point waiting for the build phase of `local: 'test/gl/setup-dkml.gitlab-ci.yml'`
# parallel:
# matrix:
# - dkml_host_abi: darwin_x86_64
#
# tags:
# - saas-macos-medium-m1
#
# script:
# - sh test/pc/setup-dkml-${dkml_host_abi}.sh