PortAudio.jl/ci_setup.jl

22 lines
695 B
Julia
Raw Normal View History

2018-08-16 18:41:35 +02:00
VERSION >= v"0.7.0-" && using InteractiveUtils
versioninfo()
if VERSION < v"0.7.0-"
Pkg.clone(pwd(), "PortAudio")
Pkg.build("PortAudio")
2018-08-16 19:03:22 +02:00
# for now we need SampledSignals and RingBuffers master
2018-08-16 18:41:35 +02:00
Pkg.checkout("SampledSignals")
2018-08-16 19:03:22 +02:00
Pkg.checkout("RingBuffers")
2018-08-16 18:41:35 +02:00
else
using Pkg
# for now we need to `clone` because there's no way to specify the
# package name for `add`
Pkg.clone(pwd(), "PortAudio")
Pkg.build("PortAudio")
Pkg.add(PackageSpec(name="SampledSignals", rev="master"))
2018-08-16 19:03:22 +02:00
Pkg.add(PackageSpec(name="RingBuffers", rev="master"))
2018-08-16 18:41:35 +02:00
end
2018-08-16 20:11:17 +02:00
# add test deps manually because we'll be running test/runtests.jl manually
Pkg.add("Compat")