File tree Expand file tree Collapse file tree 4 files changed +32
-8
lines changed Expand file tree Collapse file tree 4 files changed +32
-8
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
+ export LDFLAGS="$LDFLAGS"
40
+ export CPPFLAGS="$CPPFLAGS"
41
+ export LIBTOOL="$LIBTOOL"
42
+ export CXXFLAGS="$CXXFLAGS"
43
+ export CPP="$CPP"
44
+ export PATH="$PATH"
45
+ export LD="$LD"
46
+ export CXX="$CXX"
47
+ export CFLAGS="$CFLAGS"
48
+ export CC="$CC"
49
+ EOF
50
+ echo -n "ROOT binary: " 1>&2
51
+ which root 1>&2
52
+ - name : Build the Julia wrapper library
53
+ run : julia --project=@. -e 'import Pkg; Pkg.add("ROOTprefs"); using ROOTprefs; set_use_root_jll(false); set_ROOTSYS(); import ROOT' 1>&2
54
+ # - uses: julia-actions/julia-buildpkg@latest
36
55
- uses : julia-actions/julia-runtest@latest
Original file line number Diff line number Diff line change @@ -22,12 +22,12 @@ JULIA = julia
22
22
23
23
CXX_IS_CLANG = $(shell $(CXX ) -dM -E - < /dev/null | grep -c __clang__)
24
24
25
- VERBOSE = no # use -DVERBOSE to enable verbosity
25
+ VERBOSE = no# use -DVERBOSE to enable verbosity
26
26
# Verbose output
27
27
ifeq ($(VERBOSE ) , no)
28
- Q =
29
- else
30
28
Q = @
29
+ else
30
+ Q =
31
31
endif
32
32
33
33
ifeq ($(UNAME ) ,Darwin)
You can’t perform that action at this time.
0 commit comments