File tree 5 files changed +35
-10
lines changed
5 files changed +35
-10
lines changed Original file line number Diff line number Diff line change 6
6
fail-fast : false
7
7
matrix :
8
8
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 }
12
12
runs-on : ${{ matrix.os }}
13
13
steps :
14
14
- uses : actions/checkout@v4
15
15
with :
16
16
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 5
5
* ` FIX ` Don't do diagnostics when the workspace is not ready
6
6
* ` NEW ` Reference workspace symbols in comments using ` [some text](lua://symbolName) ` syntax
7
7
8
+ ## 3.9.1
9
+ ` 2024-5-14 `
10
+ * revert extension runtime
11
+
8
12
## 3.9.0
9
13
` 2024-5-11 `
10
14
* ` NEW ` goto implementation
128
132
Cat = 1 ,
129
133
Dog = 2 ,
130
134
}
131
-
135
+
132
136
--- @param animal userdata
133
137
--- @param atp AnimalType
134
138
--- @return boolean
Original file line number Diff line number Diff line change 1
1
git submodule update --init --recursive
2
2
cd 3rd\luamake
3
3
call compile\install.bat
4
+ call compile\build.bat
4
5
cd ..\..
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 2
2
3
3
git submodule update --init --recursive
4
4
pushd 3rd/luamake
5
+ ./compile/install.sh
5
6
./compile/build.sh
6
7
popd
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
2
2
.. ' ;./test/?.lua'
3
3
.. ' ;./test/?/init.lua'
4
4
local 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 ()
7
6
ROOT = fs .path (rootPath )
8
7
TEST = true
9
8
DEVELOP = true
You can’t perform that action at this time.
0 commit comments