Skip to content

Commit 5a84eb8

Browse files
committed
.github: workflow updated: build lua for windows
1 parent 80a8691 commit 5a84eb8

1 file changed

Lines changed: 23 additions & 3 deletions

File tree

.github/workflows/publish.yml

Lines changed: 23 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,28 @@ on:
99
branches: [ master ]
1010

1111
jobs:
12-
build:
13-
name: Build distribution
12+
lua-windows-build:
13+
name: Build lua for windows using mingw
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- name: Install packages
18+
run: sudo apt-get install -y mingw-w64-i686-dev mingw-w64-x86-64-dev build-essential
19+
20+
- name: Check out repository code
21+
uses: actions/checkout@v4
22+
23+
- name: Build LUA for windows i686
24+
run: cd lua && ./download-lua.sh && build-mingw-i686.sh
25+
26+
- name: Build LUA for windows x86_64
27+
run: cd lua && ./download-lua.sh && build-mingw-x86_64.sh
28+
29+
package-build:
30+
needs:
31+
- package-build
32+
- lua-mingw-build
33+
name: Build python distribution
1434
runs-on: ubuntu-latest
1535

1636
steps:
@@ -39,7 +59,7 @@ jobs:
3959
name: Publish Python distribution to PyPI
4060
if: ${{ startsWith(github.event.ref, 'refs/tags/v') }}
4161
needs:
42-
- build
62+
- package-build
4363
runs-on: ubuntu-latest
4464

4565
environment:

0 commit comments

Comments
 (0)