Skip to content

Commit 639edf0

Browse files
committed
ci: add JET CI
1 parent bd60178 commit 639edf0

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

.github/workflows/jet.yml

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
name: JET
2+
3+
on:
4+
push:
5+
branches: [master]
6+
tags: ["*"]
7+
pull_request:
8+
9+
jobs:
10+
jet:
11+
name: Julia ${{ matrix.version }} - ${{ matrix.os }}
12+
runs-on: ${{ matrix.os }}
13+
strategy:
14+
fail-fast: false
15+
matrix:
16+
version:
17+
- 'min'
18+
- 'lts'
19+
- '1'
20+
# Latest JET support version
21+
# https://github.com/aviatesk/JET.jl/blob/master/Project.toml
22+
- '1.12'
23+
os:
24+
- ubuntu-latest
25+
- macOS-latest
26+
- windows-latest
27+
steps:
28+
- uses: actions/checkout@v6
29+
- uses: julia-actions/setup-julia@v2
30+
with:
31+
version: ${{ matrix.version }}
32+
- uses: julia-actions/cache@v2
33+
- uses: julia-actions/julia-buildpkg@v1
34+
- name: Install JET
35+
shell: julia --project --color=yes {0}
36+
run: |
37+
using Pkg
38+
Pkg.add("JET")
39+
- name: Run JET
40+
shell: julia --project --color=yes {0}
41+
run: |
42+
using JET, Test
43+
using SpecialFunctions
44+
include("test/jet.jl")

0 commit comments

Comments
 (0)