mirror of
https://github.com/usatiuk/dhfs.git
synced 2025-10-29 04:57:48 +01:00
cleanup matrix build
This commit is contained in:
@@ -5,9 +5,9 @@ CMAKE_ARGS="${CMAKE_ARGS:--DCMAKE_BUILD_TYPE=Debug}"
|
||||
export SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||
cd "$SCRIPT_DIR"
|
||||
|
||||
if [[ -z "${DO_LOCAL_BUILD}" ]]; then
|
||||
if [[ "${DO_LOCAL_BUILD^^}" != "TRUE" ]]; then
|
||||
if [[ "$(uname)" == "Linux" ]]; then
|
||||
if [[ -z "${CROSS_PLATFORM}" ]]; then
|
||||
if [[ -z "${DOCKER_PLATFORM}" ]]; then
|
||||
echo "Already on linux"
|
||||
exit 0
|
||||
fi
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
PLATFORM_ARG=""
|
||||
if [[ ! -z "${CROSS_PLATFORM}" ]]; then
|
||||
PLATFORM_ARG="--platform $CROSS_PLATFORM"
|
||||
if [[ ! -z "${DOCKER_PLATFORM}" ]]; then
|
||||
PLATFORM_ARG="--platform $DOCKER_PLATFORM"
|
||||
fi
|
||||
|
||||
set -euxo pipefail
|
||||
|
||||
Reference in New Issue
Block a user