forked from JuliaPlots/GLMakie.jl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.gitlab-ci.yml
30 lines (29 loc) · 887 Bytes
/
.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
variables:
CI_IMAGE_TAG: "opengl"
MODERNGL_DEBUGGING: "true"
JULIA_DEPOT_PATH: "$CI_PROJECT_DIR/.julia/"
ABSTRACTPLOTTING_MINIMAL: "false"
test:
image: "juliagpu/julia:v1.3-${CI_IMAGE_TAG}"
tags:
- xorg
cache:
key: ${CI_JOB_NAME}
paths:
- .julia/artifacts
before_script:
- apt-get -qq update
- apt-get install -y cmake xorg-dev mesa-utils # glfw
script:
- mkdir -p $JULIA_DEPOT_PATH # Pkg.jl#325
- julia --project -e 'using Pkg; Pkg.build(); Pkg.test(; coverage=true)'
after_script:
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit_local(process_folder(), ".")'
artifacts:
when: on_failure
paths:
- test/tested_different
- test/test_recordings
- Project.toml
- Manifest.toml
expire_in: 2 day