Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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 6 hours 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.

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)