forked from alesan99/mari0_ae
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add makelove config + GitHub workflows
- Loading branch information
Showing
5 changed files
with
70 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
name: Compile | ||
on: [push, pull_request] | ||
jobs: | ||
build: | ||
runs-on: ubuntu-20.04 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
path: main | ||
submodules: true | ||
name: Checkout Repository | ||
- name: Update Packages | ||
run: sudo apt-get update | ||
- name: Install Dependencies | ||
run: sudo apt-get install --assume-yes wine-stable wine64 python3-pip | ||
- name: Install makelove | ||
run: | ||
pip3 install git+https://github.com/pfirsich/makelove/ | ||
- name: Build | ||
run: cd main && python3 -m makelove | ||
- name: Prepare Artifact Names | ||
run: | | ||
echo "ARTIFACT_NAME_LOVE=$(ls main/makelove-build/love | head -n1)" >> $GITHUB_ENV | ||
echo "ARTIFACT_NAME_APPIMAGE=$(ls main/makelove-build/appimage | head -n1)" >> $GITHUB_ENV | ||
echo "ARTIFACT_NAME_WIN64=$(ls main/makelove-build/win64 | head -n1)" >> $GITHUB_ENV | ||
echo "ARTIFACT_NAME_WIN32=$(ls main/makelove-build/win32 | head -n1)" >> $GITHUB_ENV | ||
echo "ARTIFACT_NAME_MACOS=$(ls main/makelove-build/macos | head -n1)" >> $GITHUB_ENV | ||
- name: Artifact (LÖVE) | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ env.ARTIFACT_NAME_LOVE }} | ||
path: main/makelove-build/love/${{ env.ARTIFACT_NAME_LOVE }} | ||
- name: Artifact (AppImage) | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ env.ARTIFACT_NAME_APPIMAGE }} | ||
path: main/makelove-build/appimage/${{ env.ARTIFACT_NAME_APPIMAGE }} | ||
- name: Artifact (Win64) | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ env.ARTIFACT_NAME_WIN64 }} | ||
path: main/makelove-build/win64/${{ env.ARTIFACT_NAME_WIN64 }} | ||
- name: Artifact (Win32) | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ env.ARTIFACT_NAME_WIN32 }} | ||
path: main/makelove-build/win32/${{ env.ARTIFACT_NAME_WIN32 }} | ||
- name: Artifact (MacOS) | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: ${{ env.ARTIFACT_NAME_MACOS }} | ||
path: main/makelove-build/macos/${{ env.ARTIFACT_NAME_MACOS }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
README.md | ||
makelove-build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,4 +7,4 @@ function love.conf(t) | |
t.version = "0.10.0" | ||
t.window = false | ||
t.externalstorage = true | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name = "Alesan99's entities" | ||
default_targets = ["win32", "win64", "appimage", "macos"] | ||
build_directory = "makelove-build" | ||
icon_file = "graphics/icon.png" | ||
love_version = "0.10.2" | ||
|
||
love_files = [ | ||
"::git-ls-tree::", | ||
"-*/.*", | ||
] |