summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2021-09-22 00:39:36 +0800
committerruki <[email protected]>2021-09-22 00:39:36 +0800
commitd62f35f77a30fe0280086241af2142b282fa1f17 (patch)
treec1adc04dc3e71bbc29b66adf9b87b3bc4221105a
parenta4ee9d0372306ee34d3454968a0dfcb0ab91e0cf (diff)
switch to lua runtime on windows
-rw-r--r--.github/workflows/windows_luajit.yml (renamed from .github/workflows/windows_lua.yml)6
-rw-r--r--core/xmake.lua2
2 files changed, 4 insertions, 4 deletions
diff --git a/.github/workflows/windows_lua.yml b/.github/workflows/windows_luajit.yml
index b9352918d..3b2115beb 100644
--- a/.github/workflows/windows_lua.yml
+++ b/.github/workflows/windows_luajit.yml
@@ -1,4 +1,4 @@
-name: Windows (Lua)
+name: Windows (Luajit)
on:
pull_request:
@@ -16,7 +16,7 @@ jobs:
runs-on: ${{ matrix.os }}
concurrency:
- group: ${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.arch }}-Windows-Lua
+ group: ${{ github.head_ref }}-${{ matrix.os }}-${{ matrix.arch }}-Windows-Luajit
cancel-in-progress: true
steps:
- uses: actions/checkout@v2
@@ -49,7 +49,7 @@ jobs:
- name: Build
run: |
- xmake f -vD -P core -a ${{ matrix.arch }} --runtime=lua
+ xmake f -vD -P core -a ${{ matrix.arch }} --runtime=luajit
xmake -vD -P core
- name: Tests
diff --git a/core/xmake.lua b/core/xmake.lua
index 71253d8ae..a9108c487 100644
--- a/core/xmake.lua
+++ b/core/xmake.lua
@@ -43,7 +43,7 @@ end
-- the runtime option
option("runtime")
set_showmenu(true)
- set_default("luajit")
+ set_default("lua")
set_description("Use luajit or lua runtime")
set_values("luajit", "lua")
option_end()