Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Organize build scripts into build-aux #275

Merged
merged 2 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions .github/workflows/build-and-candidate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
# Build translations
mkdir otl/

sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

cp out/* otl/

Expand All @@ -58,8 +58,8 @@ jobs:

- name: 'Generate i18n'
run: |
sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

- name: "Clone dependencies & set versions"
run: |
Expand Down Expand Up @@ -188,8 +188,8 @@ jobs:

- name: 'Generate i18n'
run: |
sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

- name: "Clone dependencies & set versions"
run: |
Expand Down Expand Up @@ -228,7 +228,7 @@ jobs:
# Cleanup and bundle
echo "Cleaning up..."
rm "out/Inochi Creator.app/Contents/MacOS/inochi-creator-x86_64" "out/Inochi Creator.app/Contents/MacOS/inochi-creator-arm64"
./osxbundle.sh
./build-aux/osx/osxbundle.sh

- name: Archive Zip
uses: thedoctor0/zip-release@main
Expand All @@ -240,7 +240,7 @@ jobs:

- name: 'Build DMG'
run: |
./gendmg.sh
./build-aux/osx/gendmg.sh

- name: Release
uses: softprops/action-gh-release@v1
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
# Build translations
mkdir otl/

sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

cp out/* otl/

Expand All @@ -60,8 +60,8 @@ jobs:

- name: 'Generate i18n'
run: |
sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

- name: "Clone dependencies & set versions"
run: |
Expand Down Expand Up @@ -229,8 +229,8 @@ jobs:

- name: 'Generate i18n'
run: |
sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

- name: "Clone dependencies & set versions"
run: |
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
# Cleanup and bundle
echo "Cleaning up..."
rm "out/Inochi Creator.app/Contents/MacOS/inochi-creator-x86_64" "out/Inochi Creator.app/Contents/MacOS/inochi-creator-arm64"
./osxbundle.sh
./build-aux/osx/osxbundle.sh

- name: Archive Zip
uses: thedoctor0/zip-release@main
Expand All @@ -290,7 +290,7 @@ jobs:

- name: 'Build DMG'
run: |
./gendmg.sh
./build-aux/osx/gendmg.sh

- name: Release
uses: softprops/action-gh-release@v1
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ jobs:
# Build translations
mkdir otl/

sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

cp out/* otl/

Expand All @@ -58,8 +58,8 @@ jobs:

- name: 'Generate i18n'
run: |
sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

- name: "Clone dependencies & set versions"
run: |
Expand Down Expand Up @@ -193,8 +193,8 @@ jobs:

- name: 'Generate i18n'
run: |
sudo chmod +x gentl.sh
./gentl.sh
sudo chmod +x ./build-aux/gentl.sh
./build-aux/gentl.sh

- name: "Clone dependencies & set versions"
run: |
Expand Down Expand Up @@ -234,11 +234,11 @@ jobs:
# Cleanup and bundle
echo "Cleaning up..."
rm "out/Inochi Creator.app/Contents/MacOS/inochi-creator-x86_64" "out/Inochi Creator.app/Contents/MacOS/inochi-creator-arm64"
./osxbundle.sh
./build-aux/osx/osxbundle.sh

- name: 'Build DMG'
run: |
./gendmg.sh
./build-aux/osx/gendmg.sh

- name: Release to nightly tag
uses: softprops/action-gh-release@v1
Expand All @@ -254,7 +254,7 @@ jobs:
options: --privileged

env:
MANIFEST_PATH: res/flatpak/nightly/com.inochi2d.inochi-creator.yml
MANIFEST_PATH: build-aux/flatpak/nightly/com.inochi2d.inochi-creator.yml
FLATPAK_BRANCH: nightly
FLATPAK_BUILD_DIR: build-dir
FLATPAK_BUILD_REPO: build-repo
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[submodule "res/flatpak/shared-modules"]
path = res/flatpak/shared-modules
path = build-aux/flatpak/shared-modules
url = https://github.com/flathub/shared-modules.git
2 changes: 1 addition & 1 deletion CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
[Asahi Lina](https://twitter.com/LinaAsahi)
[seagetch](https://twitter.com/seagetch)
[carbotaniuman](https://github.com/carbotaniuman)
[Grillo](https://twitter.com/Grillo_delmal)
[Grillo](https://vt.social/@grillo_delmal)
[Aki-nyan](https://twitter.com/lethalbit)
[PanzerKern](https://github.com/pankern)

Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ modules:

append-path: /usr/lib/sdk/ldc/bin
build-commands:
- chmod +x ./gentl.sh; ./gentl.sh
- chmod +x ./build-aux/gentl.sh; ./build-aux/gentl.sh
- git clone https://github.com/Inochi2D/i2d-imgui.git --recurse-submodules;
git clone https://github.com/Inochi2D/inochi2d.git;
git clone https://github.com/Inochi2D/dcv-i2d;
Expand Down Expand Up @@ -69,8 +69,5 @@ modules:
url: https://github.com/Inochi2D/branding.git
commit: a412602d346ba69c63237217ae286112e300927d

- type: file
path: inochi-creator.desktop

- type: file
path: com.inochi2d.inochi-creator.metainfo.xml
- type: dir
path: ../../../res/flatpak/nightly/
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion BuildUniversal.sh → build-aux/osx/BuildUniversal.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ lipo -info "out/Inochi Creator.app/Contents/MacOS/inochi-creator"
# Cleanup and bundle
echo "Cleaning up..."
rm "out/Inochi Creator.app/Contents/MacOS/inochi-creator-x86_64" "out/Inochi Creator.app/Contents/MacOS/inochi-creator-arm64"
./osxbundle.sh
./build-aux/osx/osxbundle.sh
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.