Skip to content

Commit f379fc4

Browse files
authored
Test Julia package against main (rust-lang#439)
1 parent 54459b9 commit f379fc4

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

.github/workflows/enzyme-julia.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
name: Julia Enzyme CI
2+
3+
on: [push]
4+
5+
jobs:
6+
build:
7+
name: Enzyme CI Julia ${{ matrix.version }} ${{ matrix.os }}
8+
runs-on: ${{ matrix.os }}
9+
continue-on-error: ${{ matrix.version == 'nightly' }}
10+
strategy:
11+
fail-fast: false
12+
matrix:
13+
version:
14+
- '1.6'
15+
- '1.7'
16+
- 'nightly'
17+
os:
18+
- ubuntu-latest
19+
- macOS-latest
20+
arch:
21+
- x64
22+
timeout-minutes: 30
23+
steps:
24+
- uses: actions/checkout@v2
25+
with:
26+
fetch-depth: 1
27+
- uses: actions/checkout@v2
28+
with:
29+
repository: 'wsmoses/Enzyme.jl'
30+
path: ./jl
31+
ref: main
32+
- uses: julia-actions/setup-julia@v1
33+
with:
34+
version: ${{ matrix.version }}
35+
arch: ${{ matrix.arch }}
36+
- name: Build libEnzyme
37+
run: |
38+
julia --project=jl/deps -e 'using Pkg; Pkg.instantiate()'
39+
julia --project=jl/deps jl/deps/build_local.jl ./enzyme
40+
- uses: julia-actions/julia-buildpkg@v1
41+
with:
42+
project: jl
43+
- uses: julia-actions/julia-runtest@v1
44+
with:
45+
project: jl

0 commit comments

Comments
 (0)