-
Notifications
You must be signed in to change notification settings - Fork 61
131 lines (119 loc) · 4.02 KB
/
Test.yml
File metadata and controls
131 lines (119 loc) · 4.02 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
name: Test
on:
push:
branches:
- main
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
release_test:
name: Julia ${{ matrix.version }} ${{ matrix.llvm_args }} - ${{ matrix.os }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
version: ['1.10', '1.11', '1.12', '1.13-nightly', 'nightly']
os: [ubuntu-24.04, ubuntu-24.04-arm, macOS-15, macOS-15-intel, windows-2025]
llvm_args: ['']
include:
# starting with Julia 1.10, we can enable opaque pointers
# from Julia 1.12 on, this is the default.
- version: '1.10'
os: 'ubuntu-24.04'
llvm_args: '--opaque-pointers'
- version: '1.10'
os: 'ubuntu-24.04-arm'
llvm_args: '--opaque-pointers'
- version: '1.10'
os: 'macOS-15'
llvm_args: '--opaque-pointers'
- version: '1.10'
os: 'macOS-15-intel'
llvm_args: '--opaque-pointers'
- version: '1.10'
os: 'windows-2025'
llvm_args: '--opaque-pointers'
- version: '1.11'
os: 'ubuntu-24.04'
llvm_args: '--opaque-pointers'
- version: '1.11'
os: 'ubuntu-24.04-arm'
llvm_args: '--opaque-pointers'
- version: '1.11'
os: 'macOS-15'
llvm_args: '--opaque-pointers'
- version: '1.11'
os: 'macOS-15-intel'
llvm_args: '--opaque-pointers'
- version: '1.11'
os: 'windows-2025'
llvm_args: '--opaque-pointers'
steps:
- uses: actions/checkout@v6
- name: Install Julia
uses: julia-actions/setup-julia@v3
with:
version: ${{ matrix.version }}
- name: Set-up cache
uses: julia-actions/cache@v3
- name: Run tests
uses: julia-actions/julia-runtest@v1
env:
JULIA_LLVM_ARGS: ${{ matrix.llvm_args }}
- name: Process coverage
uses: julia-actions/julia-processcoverage@v1
- name: Submit coverage
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
files: lcov.info
# fetching builds from Buildkite
buildkite_test:
name: Julia ${{ matrix.version }} ${{ matrix.build }} ${{ matrix.llvm_args }}
runs-on: ${{ matrix.os }}
# This job requires accessing a secret, which isn't available in PRs from
# forks. Skip this job entirely if it's a pull request from a fork.
if: ${{ github.event_name != 'pull_request' || ! github.event.pull_request.head.repo.fork }}
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04]
llvm_args: ['']
include:
- version: '1.12'
pipeline: 'julia-release-1-dot-12'
build: 'x86_64-linux-gnuassert'
branch: 'release-1.12'
#- version: 'master'
# pipeline: 'julia-master'
# build: 'x86_64-linux-gnuassert'
# branch: 'master'
steps:
- uses: actions/checkout@v6
- name: Download Julia
env:
BUILDKITE_TOKEN: ${{ secrets.BUILDKITE_TOKEN }}
run: |
./.github/download_build.sh ${{ matrix.pipeline }} ${{ matrix.branch }} build_${{ matrix.build }} julia.tar.gz
tar -xf julia.tar.gz -C ../
rm julia.tar.gz
echo $PWD/../julia-*/bin >> $GITHUB_PATH
- name: Set-up cache
uses: julia-actions/cache@v3
- name: Run tests
uses: julia-actions/julia-runtest@v1
env:
JULIA_LLVM_ARGS: ${{ matrix.llvm_args }}
- name: Process coverage
uses: julia-actions/julia-processcoverage@v1
- name: Submit coverage
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
fail_ci_if_error: false
files: lcov.info