Skip to content

Commit

Permalink
Disable MSVC check for extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
Trey2k committed Dec 1, 2023
1 parent 8de338b commit f658394
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 31 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/gdextension.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,34 +83,34 @@ jobs:
arch: x86_32
should-build: ${{ inputs.fullbuild }}

- identifier: android-release (x86_64)
name: Android (x86_64) - template_release
runner: ubuntu-20.04
target: template_release
platform: android
arch: x86_64
should-build: ${{ inputs.fullbuild }}
- identifier: android-debug (x86_64)
name: Android (x86_64) - template_debug
runner: ubuntu-20.04
target: template_debug
platform: android
arch: x86_64
should-build: ${{ inputs.fullbuild }}
- identifier: android-release (arm64)
name: Android (arm64) - template_release
runner: ubuntu-20.04
target: template_release
platform: android
arch: arm64
should-build: ${{ inputs.fullbuild }}
- identifier: android-debug (arm64)
name: Android (arm64) - template_debug
runner: ubuntu-20.04
target: template_debug
platform: android
arch: arm64
should-build: ${{ inputs.fullbuild }}
# - identifier: android-release (x86_64)
# name: Android (x86_64) - template_release
# runner: ubuntu-20.04
# target: template_release
# platform: android
# arch: x86_64
# should-build: ${{ inputs.fullbuild }}
# - identifier: android-debug (x86_64)
# name: Android (x86_64) - template_debug
# runner: ubuntu-20.04
# target: template_debug
# platform: android
# arch: x86_64
# should-build: ${{ inputs.fullbuild }}
# - identifier: android-release (arm64)
# name: Android (arm64) - template_release
# runner: ubuntu-20.04
# target: template_release
# platform: android
# arch: arm64
# should-build: ${{ inputs.fullbuild }}
# - identifier: android-debug (arm64)
# name: Android (arm64) - template_debug
# runner: ubuntu-20.04
# target: template_debug
# platform: android
# arch: arm64
# should-build: ${{ inputs.fullbuild }}

- identifier: macos-release (universal)
name: MacOS (universal) - template_release
Expand Down
2 changes: 1 addition & 1 deletion external/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ luaver = env["luaapi_luaver"]

if luaver == "jit":
if env["luaapi_luajit_build"]:
build_luajit(env)
build_luajit(env, True)

env.Append(LIBPATH=[Dir("luaJIT/src").abspath])
env.Append(LIBS=['libluajit'])
Expand Down
4 changes: 2 additions & 2 deletions external/build_luajit.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ def run(cmd):
print("Error: return code: " + str(code))
sys.exit(code)

def build_luajit(env):
if not env.msvc:
def build_luajit(env, extension=False):
if extension or not env.msvc:
os.chdir("luaJIT")

# cross compile posix->windows
Expand Down

0 comments on commit f658394

Please sign in to comment.