File tree Expand file tree Collapse file tree 1 file changed +20
-10
lines changed Expand file tree Collapse file tree 1 file changed +20
-10
lines changed Original file line number Diff line number Diff line change 77 push :
88 branches :
99 - master
10+ - ' v*.*.*'
1011 tags :
1112 - " *"
1213 pull_request :
@@ -46,21 +47,30 @@ jobs:
4647 apk update
4748 apk add git ninja bash build-base nodejs linux-headers
4849
50+ - name : Prepare for Linux
51+ if : ${{ matrix.target == 'linux' && matrix.libc != 'musl' }}
52+ run : |
53+ sudo apt update
54+ sudo apt install ninja-build
55+
4956 - uses : actions/checkout@v4
5057 with :
5158 submodules : recursive
5259
53- - name : Build for others step-1
54- if : ${{ matrix.platform != 'linux-x64' }}
55- uses : actboy168/setup-luamake@master
56-
57- - name : Build for others step-2
58- if : ${{ matrix.platform != 'linux-x64' }}
59- run : luamake -platform ${{ matrix.platform }}
60+ - name : Build for Windows
61+ if : ${{ matrix.target == 'windows' }}
62+ run : .\make.bat ${{ matrix.platform }}
6063
61- - name : Build for musl
62- if : ${{ matrix.platform == 'linux-x64' && matrix.libc == 'musl' }}
63- run : ./make.sh
64+ - name : Build for Linux
65+ if : ${{ matrix.target == 'linux' }}
66+ run : |
67+ ./make.sh ${{ matrix.platform }}
68+
69+ - name : Build for macOS
70+ if : ${{ matrix.target == 'darwin' }}
71+ run : |
72+ brew install ninja
73+ ./make.sh ${{ matrix.platform }}
6474
6575 - name : Build for x64 glibc
6676 if : ${{ matrix.platform == 'linux-x64' && matrix.libc != 'musl' }}
You can’t perform that action at this time.
0 commit comments