File tree Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Expand file tree Collapse file tree 3 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 33
33
token : ${{ secrets.GITHUB_TOKEN }}
34
34
allowUpdates : true
35
35
tag : v${{ steps.get-version.outputs.VERSION }}
36
- if : github.ref == 'refs/heads/master'
36
+ if : github.ref == 'refs/heads/master'
Original file line number Diff line number Diff line change @@ -49,8 +49,15 @@ luacurl:
49
49
50
50
# curl is used since mesonInstaller.sh copies over the shared library dylib
51
51
# dylibbundler is used to copy over dylibs that lcurl.so uses
52
+ #
53
+ # luautf8 is used at runtime; the version is picked to match the PathOfBuilding
54
+ # version from https://github.com/PathOfBuildingCommunity/PathOfBuilding/blob/5eb8bd3bd2ad1b2ce0ee2f850e69b3197de8572c/Dockerfile#L35
55
+ #
56
+ # We install luautf8 locally to ensure it works even if we can't write to the
57
+ # system, like in Github Actions.
52
58
tools :
53
- arch --x86_64 brew install qt@5 luajit zlib meson curl dylibbundler gcc@12
59
+ arch --x86_64 brew install qt@5 luajit zlib meson curl dylibbundler gcc@12 luarocks; \
60
+ luarocks install --local --lua-version 5.1 luautf8 0.1.6-1
54
61
55
62
# We don't usually modify the PathOfBuilding directory, so there's rarely a
56
63
# need to delete it. We separate it out to a separate task.
Original file line number Diff line number Diff line change @@ -31,5 +31,6 @@ unzip runtime-win32.zip lua/xml.lua lua/base64.lua lua/sha1.lua
31
31
mv lua/* .lua .
32
32
rmdir lua
33
33
cp ../lcurl.so .
34
+ cp ~ /.luarocks/lib/lua/5.1/lua-utf8.so .
34
35
mv src/* .
35
36
rmdir src
You can’t perform that action at this time.
0 commit comments