File tree Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Expand file tree Collapse file tree 4 files changed +17
-16
lines changed Original file line number Diff line number Diff line change
1
+ #! /usr/bin/env bash
2
+ # set -euo pipefail
3
+
4
+ echo " +++ DEBUG"
5
+ echo " PATH=$PATH "
6
+ ls -la /c/buildkite-agent
7
+
8
+ julia --project=test -e ' import Pkg; Pkg.instantiate()'
9
+ echo ' +++ runtests.jl'
10
+ julia --project=test test/runtests.jl
Original file line number Diff line number Diff line change @@ -13,15 +13,12 @@ steps:
13
13
- " /cache:/cache"
14
14
- staticfloat/metahook#sf/windows_backslashes:
15
15
pre-command : |
16
- # Upgrade our debian package to bullseye (wowza)
17
- if [[ "${ARCH?}" == "x86_64" ]] || [[ "${ARCH?}" == "aarch64" ]]; then
16
+ # Upgrade our debian package to bullseye (wowza) and get an ILP64 blas
17
+ if [[ "${ARCH?}" == *64 ]]; then
18
18
echo "deb http://deb.debian.org/debian bullseye main" > /etc/apt/sources.list.d/bullseye.list
19
19
apt update && apt install -y libblas64-dev liblapack64-dev
20
20
fi
21
- commands : |
22
- julia --project=test -e 'import Pkg; Pkg.instantiate()'
23
- echo "+++ run tests"
24
- julia --project=test test/runtests.jl
21
+ command : " bash .buildkite/instantiate_and_test.sh"
25
22
agents :
26
23
queue : " juliaecosystem"
27
24
os : " linux"
Original file line number Diff line number Diff line change 6
6
- staticfloat/metahook#sf/windows_backslashes:
7
7
pre-command : |
8
8
echo "This is a test"
9
- commands : |
10
- julia --project=test -e 'import Pkg; Pkg.instantiate()'
11
- echo "+++ run tests"
12
- julia --project=test test/runtests.jl
9
+ command : " bash .buildkite/instantiate_and_test.sh"
13
10
agents :
14
11
queue : " juliaecosystem"
15
12
os : " macos"
Original file line number Diff line number Diff line change 6
6
- staticfloat/metahook#sf/windows_backslashes:
7
7
# Copy our julia installation to a known location that we can mount with docker
8
8
pre-command : |
9
- cp $(dirname $(dirname $(which julia))) /c/buildkite-agent
9
+ cp -r $(dirname $(dirname $(which julia)))/* /c/buildkite-agent
10
10
- docker#v3.13.0:
11
11
image : " ${DOCKER_IMAGE?}"
12
12
always-pull : true
13
13
volumes :
14
14
# Abuse the fact that we have a `PATH` mapping for `buildkite-agent`
15
15
# to mount in our build of Julia for use within the container:
16
- - " C:\\ buildkite-agent\\ bin:C:\\ buildkite-agent\\ bin"
17
- commands : |
18
- julia --project=test -e 'import Pkg; Pkg.instantiate()'
19
- echo "+++ run tests"
20
- julia --project=test test/runtests.jl
16
+ - " C:\\ buildkite-agent:C:\\ buildkite-agent"
17
+ command : ["bash", "-c", ".buildkite/instantiate_and_test.sh"]
21
18
agents :
22
19
queue : " juliaecosystem"
23
20
os : " windows"
You can’t perform that action at this time.
0 commit comments