-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0082283
commit b8f500a
Showing
114 changed files
with
951 additions
and
266 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,27 @@ | ||
name: Android Buildozer | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: '0 0 1,15 * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: github.event_name != 'pull_request' && (github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build android apk]')) || contains(github.event.pull_request.title, '[build android apk]') | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: setup docker | ||
id: buildozer | ||
run: docker build . -t local -f tools/build/build_android.dockerfile | ||
- name: build with buildozer | ||
run: docker run -i -v $PWD:/srv -w/srv local /bin/bash ./tools/build/build_android.sh | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: package | ||
path: build/android/bin/*.apk |
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,27 @@ | ||
name: Linux Pyinstaller | ||
on: | ||
push: | ||
branches: [ main ] | ||
pull_request: | ||
branches: [ main ] | ||
schedule: | ||
- cron: '0 0 1,15 * *' | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
if: github.event_name != 'pull_request' && (github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build linux run]')) || contains(github.event.pull_request.title, '[build linux run]') | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: setup docker | ||
id: linux-docker-kivy | ||
run: docker build . -t local -f tools/build/build_linux_amd64.dockerfile | ||
- name: build with pyinstaller | ||
run: docker run -i -v $PWD:/srv -w/srv local /bin/bash ./tools/build/build_debian_8_docker.sh | ||
|
||
- name: Upload artifacts | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: package | ||
path: 'build/linux/dist/**' |
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,51 @@ | ||
name: OSX dmg | ||
|
||
on: | ||
push: | ||
pull_request: | ||
create: | ||
schedule: | ||
- cron: '0 0 1,15 * *' | ||
|
||
env: | ||
CC: clang | ||
CXX: clang | ||
FFLAGS: '-ff2c' | ||
USE_SDL2: 1 | ||
|
||
jobs: | ||
osx_dmg_create: | ||
runs-on: macos-latest | ||
if: github.event_name != 'pull_request' && (github.event_name == 'schedule' || (github.event_name == 'create' && github.event.ref_type == 'tag') || contains(github.event.head_commit.message, '[build app osx]')) || contains(github.event.pull_request.title, '[build app osx]') | ||
env: | ||
KIVY_SPLIT_EXAMPLES: 0 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Set up Python | ||
uses: actions/setup-python@v4 | ||
with: | ||
python-version: 3.x | ||
- name: Make app bundle | ||
run: | ||
python3 tools/build/build_macosx.py | ||
- name: Delete Old Artifacts | ||
uses: actions/github-script@v6 | ||
id: artifact | ||
with: | ||
script: | | ||
const res = await github.rest.actions.listArtifactsForRepo({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
}) | ||
res.data.artifacts | ||
.forEach(({ id }) => { | ||
github.rest.actions.deleteArtifact({ | ||
owner: context.repo.owner, | ||
repo: context.repo.repo, | ||
artifact_id: id, | ||
}) | ||
}) | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: osx_dmg | ||
path: ./build/bin/KivyHelloWorld.dmg |
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
Empty file.
Oops, something went wrong.