Skip to content

Commit

Permalink
Merge pull request #29 from MaximilienNaveau/devel
Browse files Browse the repository at this point in the history
v3.0.0 again
  • Loading branch information
MaximilienNaveau authored Apr 27, 2024
2 parents 2291fa3 + 0b3811e commit e4ebee4
Show file tree
Hide file tree
Showing 77 changed files with 69 additions and 676,093 deletions.
60 changes: 60 additions & 0 deletions .github/workflows/game_ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
name: GameCI Devel 🎮

on: push

env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}

jobs:
checkLicense:
name: Check for the Unity license ☑️
runs-on: ubuntu-latest
steps:
- name: Fail - No license ☠️
if: ${{ !startsWith(env.UNITY_LICENSE, '<') }}
run: exit 1

testRunner:
needs: checkLicense
name: Test all modes 📝
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Create LFS file list
run: git lfs ls-files -l | cut -d' ' -f1 | sort > .lfs-assets-id

- name: Restore LFS cache
uses: actions/cache@v2
id: lfs-cache
with:
path: .git/lfs
key: ${{ runner.os }}-lfs-${{ hashFiles('.lfs-assets-id') }}

- name: Git LFS Pull
run: |
git lfs pull
git add .
git reset --hard
- name: Restore Library cache
uses: actions/cache@v2
with:
path: trampoline/Library
key: Library-test-project
restore-keys: |
Library-test-project-
Library-
- uses: webbertakken/unity-test-runner@v2
id: testRunner
with:
testMode: all
projectPath: trampoline
githubToken: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v2
with:
name: Test results (all modes)
path: ${{ steps.testRunner.outputs.artifactsPath }}
15 changes: 9 additions & 6 deletions .github/workflows/main.yml → .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: GameCI Template 🎮
name: GameCI Release 🎮

on: push
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+'

env:
UNITY_LICENSE: ${{ secrets.UNITY_LICENSE }}
Expand Down Expand Up @@ -41,7 +44,7 @@ jobs:
- name: Restore Library cache
uses: actions/cache@v2
with:
path: trampoline_unity/trampoline/Library
path: trampoline/Library
key: Library-test-project
restore-keys: |
Library-test-project-
Expand All @@ -51,7 +54,7 @@ jobs:
id: testRunner
with:
testMode: all
projectPath: trampoline_unity/trampoline
projectPath: trampoline
githubToken: ${{ secrets.GITHUB_TOKEN }}

- uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -93,7 +96,7 @@ jobs:
- name: Restore Library cache
uses: actions/cache@v2
with:
path: trampoline_unity/trampoline/Library
path: trampoline/Library
key: Library-build-${{ matrix.targetPlatform }}
restore-keys: |
Library-build-
Expand All @@ -102,7 +105,7 @@ jobs:
- uses: webbertakken/unity-builder@v2
with:
targetPlatform: ${{ matrix.targetPlatform }}
projectPath: trampoline_unity/trampoline
projectPath: trampoline


- uses: actions/upload-artifact@v2
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
137 changes: 0 additions & 137 deletions trampoline_kivy/.gitignore

This file was deleted.

19 changes: 0 additions & 19 deletions trampoline_kivy/pyproject.toml

This file was deleted.

50 changes: 0 additions & 50 deletions trampoline_kivy/readme.md

This file was deleted.

5 changes: 0 additions & 5 deletions trampoline_kivy/setup.py

This file was deleted.

Empty file.
21 changes: 0 additions & 21 deletions trampoline_kivy/src/trampoline/kivy/colors.py

This file was deleted.

Loading

0 comments on commit e4ebee4

Please sign in to comment.