Skip to content

Commit 1ef3603

Browse files
committed
Generate tarball on Ubuntu CI
1 parent 619955f commit 1ef3603

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

.github/workflows/ci.yml

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ jobs:
131131
if: startsWith(matrix.config.os, 'ubuntu-')
132132
run: |
133133
sudo apt-get update
134-
sudo apt-get install ninja-build build-essential libx11-dev libfreetype6-dev pkg-config libfontconfig1-dev libass-dev libasound2-dev libffms2-dev intltool libboost-all-dev libhunspell-dev libcurl4-openssl-dev libuchardet-dev ${{ matrix.config.os == 'ubuntu-22.04' && 'libwxgtk3.0-gtk3-dev' || 'libwxgtk3.2-dev' }}
134+
sudo apt-get install ninja-build build-essential libx11-dev libfreetype6-dev pkg-config libfontconfig1-dev libass-dev libasound2-dev libffms2-dev intltool libboost-all-dev libhunspell-dev libcurl4-openssl-dev libuchardet-dev libgtest-dev ${{ matrix.config.os == 'ubuntu-22.04' && 'libwxgtk3.0-gtk3-dev' || 'libwxgtk3.2-dev' }}
135135
136136
- name: Set compiler (Linux)
137137
if: matrix.config.os == 'ubuntu-22.04'
@@ -190,3 +190,20 @@ jobs:
190190
name: ${{ matrix.config.name }} - installer
191191
path: build/Aegisub-*.dmg
192192
if-no-files-found: error
193+
194+
# Tarball
195+
- name: Generate tarball
196+
if: matrix.config.os == 'ubuntu-24.04' && matrix.config.buildtype == 'release'
197+
run: |
198+
# Work around https://github.com/mesonbuild/meson/issues/14005
199+
rm -rf subprojects/luajit/.git
200+
201+
meson dist --include-subprojects -C build
202+
203+
- name: Upload artifacts - tarball
204+
uses: actions/upload-artifact@v4
205+
if: matrix.config.os == 'ubuntu-24.04' && matrix.config.buildtype == 'release'
206+
with:
207+
name: ${{ matrix.config.name }} - installer
208+
path: build/meson-dist/*.tar.xz
209+
if-no-files-found: error

0 commit comments

Comments
 (0)