File tree Expand file tree Collapse file tree 3 files changed +34
-5
lines changed Expand file tree Collapse file tree 3 files changed +34
-5
lines changed Original file line number Diff line number Diff line change
1
+ using Pkg
2
+ Pkg. activate (temp= true )
3
+ Pkg. add (" Conda" )
4
+ import Conda
5
+ Conda. add (" root=6.32.8" )
6
+ print (" `\n " , joinpath (Conda. ROOTENV, " bin" ))
Original file line number Diff line number Diff line change 18
18
matrix :
19
19
version :
20
20
- ' 1.10'
21
- - ' nightly'
22
21
os :
23
22
- ubuntu-latest
24
23
# - macOS-latest
Original file line number Diff line number Diff line change 7
7
8
8
defaults :
9
9
run :
10
- shell : bash
10
+ shell : bash -l {0}
11
11
12
12
jobs :
13
13
test :
@@ -18,12 +18,11 @@ jobs:
18
18
matrix :
19
19
version :
20
20
- ' 1.10'
21
- - ' nightly'
22
21
os :
23
22
# - ubuntu-latest
24
23
- macOS-latest
25
24
arch :
26
- - x64
25
+ - aarch64
27
26
steps :
28
27
- uses : actions/checkout@v3
29
28
with :
32
31
with :
33
32
version : ${{ matrix.version }}
34
33
arch : ${{ matrix.arch }}
35
- - uses : julia-actions/julia-buildpkg@latest
34
+ - name : Install ROOT
35
+ run : |
36
+ CONDA_BINDIR="`julia .github/workflows/install_root_macos.jl | tail -n 1`"
37
+ source "$CONDA_BINDIR/activate"
38
+ cat >> "$GITHUB_ENV" <<EOF
39
+ DFLAGS="$LDFLAGS"
40
+ CPPFLAGS="$CPPFLAGS"
41
+ #SDKROOT="$SDKROOT"
42
+ LIBTOOL="$LIBTOOL"
43
+ CXXFLAGS="$CXXFLAGS"
44
+ CPP="$CPP"
45
+ PATH="$PATH"
46
+ LD="$LD"
47
+ STRIP="$STRIP"
48
+ CXX="$CXX"
49
+ CFLAGS="$CFLAGS"
50
+ MACOSX_DEPLOYMENT_TARGET="$MACOSX_DEPLOYMENT_TARGET"
51
+ CMAKE_PREFIX_PATH="$CMAKE_PREFIX_PATH"
52
+ CC="$CC"
53
+ LDFLAGS_LD="$LDFLAGS_LD"
54
+ EOF
55
+ echo -n "ROOT binary: "
56
+ which root 1>&2
57
+ - name : Build the Julia wrapper library
58
+ run : julia --project=@. -e 'import Pkg; Pkg.add("ROOTprefs"); using ROOTprefs; set_use_root_jll(false); set_ROOTSYS(); import ROOT'
59
+ # - uses: julia-actions/julia-buildpkg@latest
36
60
- uses : julia-actions/julia-runtest@latest
You can’t perform that action at this time.
0 commit comments