Skip to content

Commit

Permalink
test 2
Browse files Browse the repository at this point in the history
  • Loading branch information
pkdawson committed Apr 20, 2024
1 parent 54e4a4c commit 60a881a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/gdext.yml
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ jobs:
run: |
export PATH="$(brew --prefix llvm@15)/bin:$PATH"
echo $PATH
export CC=clang
export CXX=clang++
export CC=$(which clang)
export CXX=$(which clang++)
env
clang++ --version
cd gdext
Expand Down
4 changes: 3 additions & 1 deletion gdext/SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import os
import shutil
import subprocess
import SCons
import sys


class CustomCacheDir(SCons.CacheDir.CacheDir):
Expand Down Expand Up @@ -42,7 +43,8 @@ elif linux:
else:
triplet = "arm64-osx"
if not os.path.exists("vcpkg_installed"):
subprocess.call("zsh scripts/vcpkg-macos.sh", shell=True)
if subprocess.call("zsh scripts/vcpkg-macos.sh", shell=True) != 0:
sys.exit(1)

if not os.path.exists("gen/imgui_bindings.gen.h"):
subprocess.call("python scripts/gds_bindings.py", shell=True)
Expand Down
2 changes: 2 additions & 0 deletions gdext/scripts/vcpkg-macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ done

rm -r $vcpkg_x64

echo "zzzzzzzzzzzzzzzzzzzzzz"
cat /Users/runner/work/imgui-godot/imgui-godot/vcpkg/buildtrees/detect_compiler/config-arm64-osx-rel-CMakeCache.txt.log
cat /Users/runner/work/imgui-godot/imgui-godot/vcpkg/buildtrees/detect_compiler/config-arm64-osx-rel-out.log
cat /Users/runner/work/imgui-godot/imgui-godot/vcpkg/buildtrees/detect_compiler/config-arm64-osx-rel-err.log
echo "zzzzzzzzzzzzzzzzzzzzzz"

0 comments on commit 60a881a

Please sign in to comment.