Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/minapecheux/unity-superjump
A sample Unity platformer to show how to do basic webhook triggering/auto-publish for a CI/CD integration thanks to Codemagic.
https://github.com/minapecheux/unity-superjump
ci ci-cd cicd codemagic codemagic-ci-cd platformer platformer-game slack slack-bot slackbot unity unity3d webhook webhooks
Last synced: about 2 months ago
JSON representation
A sample Unity platformer to show how to do basic webhook triggering/auto-publish for a CI/CD integration thanks to Codemagic.
- Host: GitHub
- URL: https://github.com/minapecheux/unity-superjump
- Owner: MinaPecheux
- Created: 2022-02-10T14:51:28.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-07-12T21:20:11.000Z (over 2 years ago)
- Last Synced: 2023-03-07T15:08:27.704Z (almost 2 years ago)
- Topics: ci, ci-cd, cicd, codemagic, codemagic-ci-cd, platformer, platformer-game, slack, slack-bot, slackbot, unity, unity3d, webhook, webhooks
- Language: C#
- Homepage: https://minapecheux.com
- Size: 10.6 MB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# [Unity/C#] Super Jump
**Mina PΓͺcheux - February 2022**
![Codemagic build status](https://api.codemagic.io/apps/620526c3546bd2c8549d973d/unity-mac-workflow/status_badge.svg)
This project is a sample demo for linking [Github **webhooks**](https://docs.github.com/en/github-ae@latest/developers/webhooks-and-events/webhooks) with [Codemagic workflows](https://unitycicd.com/), and for automatically **delivering the build artifacts** to a Slack channel.
π΄ _**Important note**: the repo doesn't use [Git LFS](https://github.com/git-lfs/git-lfs/tree/main) at the moment - but this tool would probably be required to really handle production assets and bigger binaries!_
π΅ _**Disclaimer**: this "game" is obviously just a prototype and this code is not really production ready... :)_
![demo](Docs/demo.gif)
---
This repo is meant to propose a basic CI/CD process to automate the integration of game art assets into a Unity game, and directly build a matching dev prototype so that artists can test the updated version without the help of the dev team.
The project relies on webhooks:
- any commit that is pushed on a branch which name follows the pattern: `feat-art/*` will trigger a new Codemagic build
- for now, this build is configured to produce a Mac `.app` artifact
- this artifact is then sent to a given Slack channel (here: an arbitrary `#test-codemagic-integration` channel in a Slack workspace that has been linked with the Codemagic account)