blob: ae6c31b69cd86d09ca816f809135672a1d8d62d8 (
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
|
#!/bin/bash
set -xe
cd $WORKSPACE
rm -rf *.sh configs
git clone --depth 1 https://git.linaro.org/ci/job/configs.git
if [ "$build0" = "true" ]; then
echo ' - "0.37"' >> configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tfio.yml
fi
if [ "$buildgit" = "true" ]; then
echo ' - "git"' >> configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tfio.yml
fi
if [ "$auditwheels" = "false" ]; then
sed -i -e '/run_audit/s/true/false/' configs/ldcg-python-manylinux-tensorflow/ansible/vars/vars-tfio.yml
fi
ansible-galaxy collection install community.docker
cd configs/ldcg-python-manylinux-tensorflow/ansible/
sed -i -e"s+/tmp/workspace+${WORKSPACE}+g" vars/vars-tfio.yml
ansible-playbook playbooks/build-tfio-dual-abi.yml
|