openvibers/source.openvibe.games Commits
Console pipeline fixes: engine-bridge fallback, dev stack runtimes, DLL verify SIGPIPE fix
Changes
@@@ -7,6 +7,8 @@ MOD="$ROOT/game/openvibe.games"sessions=(ov-apiov-client-ui++ ov-runtime-server++ ov-runtime-clientov-hubov-prophuntov-deathrun@@@ -3,6 +3,7 @@ set -euo pipefailROOT="${OPENVIBE_ROOT:-$HOME/src/openvibe-source}"cd "$ROOT"++REPO="${REPO:-}"REPO="${REPO%.git}"WORKFLOW="${OPENVIBE_WINDOWS_WORKFLOW:-windows-source-sdk-dlls.yml}"BRANCH="${OPENVIBE_BRANCH:-$(git branch --show-current)}"@@@ -55,7 +55,7 @@ fihas_string() {local file="$1" needle="$2"-- strings -a "$file" | grep -Fq -- "$needle"++ n="$(strings -a "$file" | grep -Fc -- "$needle" || true)"; [[ "${n:-0}" -gt 0 ]]}verify_file() {local label="$1" file="$2"; shift 2@@@ -23,7 +23,7 @@ check_file() {local missing=0for needle in "$@"; do-- if strings -a "$file" | grep -Fq -- "$needle"; then++ if n="$(strings -a "$file" | grep -Fc -- "$needle" || true)"; [[ "${n:-0}" -gt 0 ]]; thenecho "[ok] contains string: $needle"elseecho "[miss] does not contain string: $needle"
@@ -7,6 +7,8 @@ MOD="$ROOT/game/openvibe.games"
@@ -7,6 +7,8 @@ MOD="$ROOT/game/openvibe.games"
sessions=(
sessions=(
ov-api
ov-api
ov-client-ui
ov-client-ui
+ ov-runtime-server
+ ov-runtime-client
ov-hub
ov-hub
ov-prophunt
ov-prophunt
ov-deathrun
ov-deathrun
@@ -3,6 +3,7 @@ set -euo pipefail
@@ -3,6 +3,7 @@ set -euo pipefail
ROOT="${OPENVIBE_ROOT:-$HOME/src/openvibe-source}"
ROOT="${OPENVIBE_ROOT:-$HOME/src/openvibe-source}"
cd "$ROOT"
cd "$ROOT"
+REPO="${REPO:-}"
REPO="${REPO%.git}"
REPO="${REPO%.git}"
WORKFLOW="${OPENVIBE_WINDOWS_WORKFLOW:-windows-source-sdk-dlls.yml}"
WORKFLOW="${OPENVIBE_WINDOWS_WORKFLOW:-windows-source-sdk-dlls.yml}"
BRANCH="${OPENVIBE_BRANCH:-$(git branch --show-current)}"
BRANCH="${OPENVIBE_BRANCH:-$(git branch --show-current)}"
@@ -55,7 +55,7 @@ fi
@@ -55,7 +55,7 @@ fi
has_string() {
has_string() {
local file="$1" needle="$2"
local file="$1" needle="$2"
- strings -a "$file" | grep -Fq -- "$needle"
+ n="$(strings -a "$file" | grep -Fc -- "$needle" || true)"; [[ "${n:-0}" -gt 0 ]]
}
}
verify_file() {
verify_file() {
local label="$1" file="$2"; shift 2
local label="$1" file="$2"; shift 2
@@ -23,7 +23,7 @@ check_file() {
@@ -23,7 +23,7 @@ check_file() {
local missing=0
local missing=0
for needle in "$@"; do
for needle in "$@"; do
- if strings -a "$file" | grep -Fq -- "$needle"; then
+ if n="$(strings -a "$file" | grep -Fc -- "$needle" || true)"; [[ "${n:-0}" -gt 0 ]]; then
echo "[ok] contains string: $needle"
echo "[ok] contains string: $needle"
else
else
echo "[miss] does not contain string: $needle"
echo "[miss] does not contain string: $needle"