Skip to content

Commit f4957e0

Browse files
authored
Merge pull request #9 from JuliaGPU/jps/gitlab-ci
Add Gitlab CI and CompatHelper
2 parents a33068b + 031b1ba commit f4957e0

File tree

3 files changed

+55
-0
lines changed

3 files changed

+55
-0
lines changed

.codecov.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
coverage:
2+
ignore:
3+
- "doc/"
4+
- "benchmark/"
5+
status:
6+
patch: false
7+
project: false
8+
changes: false

.github/workflows/CompatHelper.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
name: CompatHelper
2+
on:
3+
schedule:
4+
- cron: '00 00 * * *'
5+
workflow_dispatch:
6+
jobs:
7+
CompatHelper:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Pkg.add("CompatHelper")
11+
run: julia -e 'using Pkg; Pkg.add("CompatHelper")'
12+
- name: CompatHelper.main()
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
run: julia -e 'using CompatHelper; CompatHelper.main()'

.gitlab-ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
include:
2+
- 'https://raw.githubusercontent.com/JuliaGPU/gitlab-ci/master/templates/v6.yml'
3+
4+
# CUDA.jl
5+
6+
cuda:1.5:
7+
image: ubuntu:bionic
8+
extends:
9+
- .julia:1.5
10+
- .test
11+
tags:
12+
- nvidia
13+
14+
15+
# AMDGPU.jl
16+
17+
amdgpu:1.5:
18+
image: rocm/dev-ubuntu-18.04
19+
extends:
20+
- .julia:1.5
21+
- .test
22+
tags:
23+
- rocm
24+
allow_failure: true
25+
26+
27+
# other tasks
28+
29+
coverage:
30+
extends:
31+
- .julia:1.5
32+
- .coverage

0 commit comments

Comments
 (0)