Skip to content

Commit

Permalink
CI: build translations on Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
LunaTheFoxgirl committed Jun 10, 2022
1 parent d41b814 commit 1960f11
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: "Get build dependencies"
run: |
sudo apt install libsdl2-dev libfreetype6-dev
sudo apt install libsdl2-dev libfreetype6-dev gettext
- name: "Clone dependencies & set versions"
run: |
Expand All @@ -48,6 +48,11 @@ jobs:
run: |
# Build the project, with its main file included, without unittests
dub build --compiler=ldc2 --build=release --config=full
# Build translations
sudo chmod +x gentl.sh
./gentl.sh
# Build the AppImage
sudo chmod +x BuildAppImage.sh
./BuildAppImage.sh
Expand Down
2 changes: 1 addition & 1 deletion BuildAppImage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ mkdir inochi-creator.AppDir
cd inochi-creator.AppDir
mkdir usr
mkdir usr/bin
cp ../../out/inochi-creator usr/bin/inochi-creator
cp ../../out/* usr/bin/
cp ../../res/logo_256.png logo_256.png
cp ../../res/inochi-creator.desktop inochi-creator.desktop
cp ../../res/AppRun AppRun
Expand Down
9 changes: 9 additions & 0 deletions dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -56,4 +56,13 @@ configuration "win32-full" {
sourceFiles "res\\inochi-creator.res"
preBuildCommands "rc.exe /v res\\inochi-creator.rc"
versions "InBranding"
}

configuration "win32-lite" {
subConfiguration "bindbc-imgui" "static_staticCRT"
platforms "windows"
targetType "executable"
lflags "/SUBSYSTEM:windows" "/ENTRY:mainCRTStartup" platform="window-dmd"
sourceFiles "res\\inochi-creator.res"
versions "InBranding"
}

0 comments on commit 1960f11

Please sign in to comment.