blob: c0398cba5477ec5ffeda360ad7b79771f5083259 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
#!/bin/sh
set -e -x
# for virtualbox to work with macos image, oracle extensions need to be installed (arch package virtualbox-ext-oracle)
# libfuse3 is disabled for macos since there's no support in macfuse
# see https://github.com/osxfuse/osxfuse/issues/390
trap "vagrant destroy --force; rm -rf Vagrantfile" SIGINT SIGTERM ERR EXIT
rm -rf Vagrantfile
vagrant init rpodgorny/mymacos
vagrant up
vagrant upload $(pwd) xxx/
# TODO: get rid of source .bashrc
echo "
set -e -x
source .bashrc
uname -a
cd xxx
rm -rf build
mkdir build
cd build
cmake .. -DWITH_LIBFUSE3=FALSE
make
python3 ../test_all.py
" | vagrant ssh
#vagrant destroy --force
|