File tree Expand file tree Collapse file tree 4 files changed +68
-27
lines changed Expand file tree Collapse file tree 4 files changed +68
-27
lines changed Original file line number Diff line number Diff line change 1
- name : Downgrade
1
+ name : CI
2
2
on :
3
- pull_request :
4
- branches :
5
- - master
6
- paths-ignore :
7
- - ' docs/**'
8
3
push :
9
4
branches :
10
- - master
11
- paths-ignore :
12
- - ' docs/**'
5
+ - main
6
+ tags : ['*']
7
+ pull_request :
8
+ concurrency :
9
+ # Skip intermediate builds: always.
10
+ # Cancel intermediate builds: only if it is a pull request build.
11
+ group : ${{ github.workflow }}-${{ github.ref }}
12
+ cancel-in-progress : ${{ startsWith(github.ref, 'refs/pull/') }}
13
13
jobs :
14
14
test :
15
- runs-on : ubuntu-latest
15
+ name : Julia ${{ matrix.version }} - ${{ matrix.os }} - ${{ matrix.arch }} - ${{ github.event_name }}
16
+ runs-on : ${{ matrix.os }}
16
17
strategy :
18
+ fail-fast : false
17
19
matrix :
18
- group :
19
- - Core
20
- downgrade_mode : ['alldeps']
21
- julia-version : ['1.10']
20
+ version :
21
+ - ' lts'
22
+ - ' 1'
23
+ - ' pre'
24
+ os :
25
+ - ubuntu-latest
26
+ arch :
27
+ - x64
22
28
steps :
23
29
- uses : actions/checkout@v4
24
30
- uses : julia-actions/setup-julia@v2
25
31
with :
26
- version : ${{ matrix.julia-version }}
27
- - uses : julia-actions/julia-downgrade-compat@v2
28
- # if: ${{ matrix.version == '1.6' }}
32
+ version : ${{ matrix.version }}
33
+ arch : ${{ matrix.arch }}
34
+ - uses : julia-actions/julia-downgrade-compat@v1
35
+ if : ${{ matrix.version == '1.6' }}
29
36
with :
30
- skip : Pkg,TOML
37
+ skip : Pkg, TOML
38
+ - uses : julia-actions/cache@v2
31
39
- uses : julia-actions/julia-buildpkg@v1
32
40
- uses : julia-actions/julia-runtest@v1
41
+ - uses : julia-actions/julia-processcoverage@v1
42
+ - uses : codecov/codecov-action@v5
33
43
with :
34
- ALLOW_RERESOLVE : false
35
- env :
36
- GROUP : ${{ matrix.group }}
44
+ files : lcov.info
45
+ token : ${{ secrets.CODECOV_TOKEN }}
46
+ fail_ci_if_error : false
Original file line number Diff line number Diff line change
1
+ name : Downgrade
2
+ on :
3
+ pull_request :
4
+ branches :
5
+ - main
6
+ paths-ignore :
7
+ - ' docs/**'
8
+ push :
9
+ branches :
10
+ - main
11
+ paths-ignore :
12
+ - ' docs/**'
13
+ jobs :
14
+ test :
15
+ runs-on : ubuntu-latest
16
+ strategy :
17
+ matrix :
18
+ group :
19
+ - Core
20
+ downgrade_mode : ['alldeps']
21
+ julia-version : ['1.10', '1', 'pre']
22
+ steps :
23
+ - uses : actions/checkout@v4
24
+ - uses : julia-actions/setup-julia@v2
25
+ with :
26
+ version : ${{ matrix.julia-version }}
27
+ - uses : julia-actions/julia-downgrade-compat@v2
28
+ # if: ${{ matrix.version == '1.6' }}
29
+ with :
30
+ skip : Pkg,TOML
31
+ - uses : julia-actions/julia-buildpkg@v1
32
+ - uses : julia-actions/julia-runtest@v1
33
+ with :
34
+ ALLOW_RERESOLVE : false
35
+ env :
36
+ GROUP : ${{ matrix.group }}
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ ADTypesEnzymeCoreExt = "EnzymeCore"
22
22
ChainRulesCore = " 1.0.2"
23
23
ConstructionBase = " 1.5"
24
24
EnzymeCore = " 0.5.3,0.6,0.7,0.8"
25
- julia = " 1.6 "
25
+ julia = " 1.10 "
26
26
27
27
[extras ]
28
28
Aqua = " 4c88cf16-eb10-579e-8560-4a9242c79595"
Original file line number Diff line number Diff line change @@ -26,11 +26,6 @@ include("sparse.jl")
26
26
include (" legacy.jl" )
27
27
include (" symbols.jl" )
28
28
29
- if ! isdefined (Base, :get_extension )
30
- include (" ../ext/ADTypesChainRulesCoreExt.jl" )
31
- include (" ../ext/ADTypesEnzymeCoreExt.jl" )
32
- end
33
-
34
29
# Automatic Differentiation
35
30
export AbstractADType
36
31
export AutoChainRules,
You can’t perform that action at this time.
0 commit comments