installer and ci: Throw more errors on failure
This makes it easier to notice when installer generation failed.
This commit is contained in:
parent
0d5063bf79
commit
883a1b2a73
2 changed files with 6 additions and 0 deletions
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
@ -134,6 +134,7 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.config.name }} - installer
|
name: ${{ matrix.config.name }} - installer
|
||||||
path: build/Aegisub-*.exe
|
path: build/Aegisub-*.exe
|
||||||
|
if-no-files-found: error
|
||||||
|
|
||||||
- name: Upload artifacts - portable.zip
|
- name: Upload artifacts - portable.zip
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
|
@ -155,3 +156,4 @@ jobs:
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.config.name }} - installer
|
name: ${{ matrix.config.name }} - installer
|
||||||
path: build/Aegisub-*.dmg
|
path: build/Aegisub-*.dmg
|
||||||
|
if-no-files-found: error
|
||||||
|
|
|
@ -69,7 +69,9 @@ if (!(Test-Path ffi-experiments)) {
|
||||||
git clone https://github.com/TypesettingTools/ffi-experiments.git
|
git clone https://github.com/TypesettingTools/ffi-experiments.git
|
||||||
Set-Location ffi-experiments
|
Set-Location ffi-experiments
|
||||||
meson build -Ddefault_library=static
|
meson build -Ddefault_library=static
|
||||||
|
if(!$?) { Exit $LASTEXITCODE }
|
||||||
meson compile -C build
|
meson compile -C build
|
||||||
|
if(!$?) { Exit $LASTEXITCODE }
|
||||||
Set-Location $DepsDir
|
Set-Location $DepsDir
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -91,7 +93,9 @@ if (!(Test-Path dictionaries)) {
|
||||||
# localization
|
# localization
|
||||||
Set-Location $BuildRoot
|
Set-Location $BuildRoot
|
||||||
meson compile aegisub-gmo
|
meson compile aegisub-gmo
|
||||||
|
if(!$?) { Exit $LASTEXITCODE }
|
||||||
|
|
||||||
# Invoke InnoSetup
|
# Invoke InnoSetup
|
||||||
$IssUrl = Join-Path $InstallerDir "aegisub_depctrl.iss"
|
$IssUrl = Join-Path $InstallerDir "aegisub_depctrl.iss"
|
||||||
iscc $IssUrl
|
iscc $IssUrl
|
||||||
|
if(!$?) { Exit $LASTEXITCODE }
|
Loading…
Reference in a new issue