-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.gitlab-ci.yml
More file actions
56 lines (51 loc) · 1.46 KB
/
.gitlab-ci.yml
File metadata and controls
56 lines (51 loc) · 1.46 KB
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
stages:
- test
- documentation
variables:
SCHEDULER_PARAMETERS: "-n 1 -c 8 --mem=10G -t 01:00:00 -A hpc-prf-cifi -p normal"
JULIA_MOD: "lang/JuliaHPC/1.10.4-foss-2022a-CUDA-11.7.0"
XRT_MOD: "xilinx/xrt/2.16"
CI: "true"
default:
id_tokens:
CI_JOB_JWT:
aud: https://git.uni-paderborn.de
tags:
- slurm
before_script:
- module load $JULIA_MOD
test_with_native:
stage: test
script:
- module load fpga $XRT_MOD
- export XCL_EMULATION_MODE=sw_emu
- julia --color=yes --project=. -e 'using Pkg; Pkg.build(verbose=true); Pkg.test(; coverage = false);'
test_with_buildin:
stage: test
script:
- module load fpga xilinx/vitis/24.1
- export XCL_EMULATION_MODE=sw_emu
- julia --color=yes --project=. -e 'using Pkg; Pkg.build(verbose=true); Pkg.test(; coverage = false);'
allow_failure: true
test_example_native:
stage: test
script:
- module load fpga $XRT_MOD
- export XCL_EMULATION_MODE=sw_emu
- cd examples/stream
- make all TARGET=sw_emu
- julia --color=yes --project -e 'using Pkg; Pkg.build(verbose=true);'
- julia --color=yes --project stream_fpga.jl
# Documentation
build-and-deploy:
stage: documentation
only:
- main
- pushes
- tags
- external_pull_requests
script:
- cd docs
- julia --color=yes --project=. -e 'using Pkg; Pkg.add(url="https://github.com/pc2/DocThemePC2.jl.git"); Pkg.build(verbose=true);'
- julia --color=yes build_docs.jl
allow_failure: false