25 строки
528 B
Bash
Executable File
25 строки
528 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
set -o pipefail
|
|
|
|
rm -rf dist
|
|
rm -rf libchromiumcontent.tar.bz2
|
|
rm -rf libchromiumcontent.zip
|
|
rm -rf libchromiumcontent-static.tar.bz2
|
|
rm -rf libchromiumcontent-static.zip
|
|
|
|
docker build \
|
|
--force-rm \
|
|
--tag libchromiumcontent-linux \
|
|
.
|
|
|
|
docker run \
|
|
--rm \
|
|
--env TARGET_ARCH="$TARGET_ARCH" \
|
|
--user "$UID" \
|
|
--volume "$PWD":/workspace/libchromiumcontent \
|
|
--volume /var/lib/jenkins/config:/config \
|
|
--workdir /workspace/libchromiumcontent \
|
|
libchromiumcontent-linux script/cibuild
|