@@ -3,17 +3,22 @@ stages:
3
3
- test
4
4
5
5
build :
6
+ tags : [x64, docker, linux]
6
7
image : python:latest
7
8
stage : build
8
9
script :
9
- - pip3 install virtualenv
10
10
# a function to download a library from another Gitlab repos CI artifacts
11
- - ' download_library(){ curl --create-dirs -o objectbox/lib/$1 -H "PRIVATE-TOKEN: $CI_API_TOKEN" $2; }'
12
- - ' download_library x86_64/libobjectbox.so "${OBXLIB_URL_Linux64}"'
13
- - ' download_library x86_64/libobjectbox.dylib "${OBXLIB_URL_Mac64}"'
14
- - ' download_library armv7l/libobjectbox.so "${OBXLIB_URL_LinuxARMv7hf}"'
15
- - ' download_library armv6l/libobjectbox.so "${OBXLIB_URL_LinuxARMv6hf}"'
16
- - ' download_library AMD64/objectbox.dll "${OBXLIB_URL_Win64}"'
11
+ # URLs stored as CI variables, see https://docs.gitlab.com/ee/api/job_artifacts.html#download-a-single-artifact-file-from-specific-tag-or-branch
12
+ # FIXME Need to update URLs and extract from archives.
13
+ # - 'download_library(){ curl --create-dirs -o objectbox/lib/$1 -H "PRIVATE-TOKEN: $CI_API_TOKEN" $2; }'
14
+ # - 'download_library x86_64/libobjectbox.so "${OBXLIB_URL_Linux64}"'
15
+ # - 'download_library x86_64/libobjectbox.dylib "${OBXLIB_URL_Mac64}"'
16
+ # - 'download_library armv7l/libobjectbox.so "${OBXLIB_URL_LinuxARMv7hf}"'
17
+ # - 'download_library armv6l/libobjectbox.so "${OBXLIB_URL_LinuxARMv6hf}"'
18
+ # - 'download_library AMD64/objectbox.dll "${OBXLIB_URL_Win64}"'
19
+ - python -m pip install --upgrade pip
20
+ # Using released C library
21
+ - make depend
17
22
- make test
18
23
- make build
19
24
artifacts :
@@ -33,14 +38,6 @@ build:
33
38
extends : .test
34
39
tags : [x64, docker, linux]
35
40
36
- test:linux:x64:3.4 :
37
- extends : .test:linux:x64
38
- image : python:3.4
39
-
40
- test:linux:x64:3.5 :
41
- extends : .test:linux:x64
42
- image : python:3.5
43
-
44
41
test:linux:x64:3.6 :
45
42
extends : .test:linux:x64
46
43
image : python:3.6
@@ -51,17 +48,24 @@ test:linux:x64:3.7:
51
48
52
49
test:linux:x64:3.8 :
53
50
extends : .test:linux:x64
54
- image : python:3.8-rc
51
+ image : python:3.8
55
52
56
- test:linux:armv6hf :
57
- extends : .test
58
- tags : [armv6hf, docker, linux]
59
- image : balenalib/raspberry-pi-python:3.7-stretch
53
+ test:linux:x64:3.9 :
54
+ extends : .test:linux:x64
55
+ image : python:3.9
56
+
57
+ test:linux:x64:3.10 :
58
+ extends : .test:linux:x64
59
+ image : python:3.10
60
60
61
61
test:linux:armv7hf :
62
62
extends : .test
63
- tags : [armv7hf, docker, linux]
64
- image : python:3.7
63
+ tags : [armv7hf, shell, linux, python3]
64
+
65
+ # aarch64 version not published
66
+ # test:linux:aarch64:
67
+ # extends: .test
68
+ # tags: [aarch64, shell, linux, python3]
65
69
66
70
test:mac:x64 :
67
71
extends : .test
0 commit comments