File tree Expand file tree Collapse file tree 5 files changed +35
-10
lines changed Expand file tree Collapse file tree 5 files changed +35
-10
lines changed Original file line number Diff line number Diff line change 66 fail-fast : false
77 matrix :
88 include :
9- - { os: ubuntu-20.04, platform: linux-x64 }
10- - { os: macos-14, platform: darwin-arm64 }
11- - { os: windows-latest, platform: win32-x64 }
9+ - { os: ubuntu-20.04, target: linux, platform: linux-x64 }
10+ - { os: macos-14, target: darwin, platform: darwin-arm64 }
11+ - { os: windows-latest, target: windows, platform: win32-x64 }
1212 runs-on : ${{ matrix.os }}
1313 steps :
1414 - uses : actions/checkout@v4
1515 with :
1616 submodules : recursive
17- - uses : actboy168/setup-luamake@master
18- - run : luamake -platform ${{ matrix.platform }}
17+ - name : Build for Windows
18+ if : ${{ matrix.target == 'windows' }}
19+ run : .\make.bat
20+ - name : Build for Linux
21+ if : ${{ matrix.target == 'linux' }}
22+ run : |
23+ sudo apt update
24+ sudo apt install ninja-build
25+ ./make.sh
26+ - name : Build for macOS
27+ if : ${{ matrix.target == 'darwin' }}
28+ run : |
29+ brew install ninja
30+ ./make.sh
Original file line number Diff line number Diff line change 55* ` FIX ` Don't do diagnostics when the workspace is not ready
66* ` NEW ` Reference workspace symbols in comments using ` [some text](lua://symbolName) ` syntax
77
8+ ## 3.9.1
9+ ` 2024-5-14 `
10+ * revert extension runtime
11+
812## 3.9.0
913` 2024-5-11 `
1014* ` NEW ` goto implementation
128132 Cat = 1 ,
129133 Dog = 2 ,
130134 }
131-
135+
132136 --- @param animal userdata
133137 --- @param atp AnimalType
134138 --- @return boolean
Original file line number Diff line number Diff line change 11git submodule update --init --recursive
22cd 3rd\luamake
33call compile\install.bat
4+ call compile\build.bat
45cd ..\..
5- call 3rd\luamake\luamake.exe rebuild
6+ IF " %~1 " == " " (
7+ call 3rd\luamake\luamake.exe rebuild
8+ ) ELSE (
9+ call 3rd\luamake\luamake.exe rebuild --platform %1
10+ )
Original file line number Diff line number Diff line change 22
33git submodule update --init --recursive
44pushd 3rd/luamake
5+ ./compile/install.sh
56./compile/build.sh
67popd
7- ./3rd/luamake/luamake rebuild
8+ if [ -z " $1 " ]; then
9+ 3rd/luamake/luamake rebuild
10+ else
11+ 3rd/luamake/luamake rebuild --platform " $1 "
12+ fi
Original file line number Diff line number Diff line change @@ -2,8 +2,7 @@ package.path = package.path
22 .. ' ;./test/?.lua'
33 .. ' ;./test/?/init.lua'
44local fs = require ' bee.filesystem'
5- local sys = require ' bee.sys'
6- local rootPath = sys .exe_path ():parent_path ():parent_path ():string ()
5+ local rootPath = fs .exe_path ():parent_path ():parent_path ():string ()
76ROOT = fs .path (rootPath )
87TEST = true
98DEVELOP = true
You can’t perform that action at this time.
0 commit comments