Giter Site home page Giter Site logo

amethyst-drone-config's Introduction

Amethyst Drone CI Config Template

Build Status

This is a starter template for the Drone CI server that can be used to automatically build Amethyst games for 64bit Windows, Mac, and Linux and automatically deploy the builds to your GitHub releases.

Drone is a Docker based CI server that is hosted free for Open Source projects. This makes it easy to provide free automated builds of your Amethyst project for anybody who might want to try it out!

Usage

To use this for your project, first login to the Drone Cloud with your GitHub account. After logging in you will be able to see a list of the repositories that you own. Click on the repo that you want to setup and then click "Activate".

Next we need to create an access key that Drone can use to publish GitHub releases with. Follow the instructions here to create a personal access token. Once you have created the token, you must add it Drone from the settings page in the Drone cloud:

Drone Access Token

After that is done, simply copy the template.drone.yml from this repo to .drone.yml in your repo and replace all occurrences of ??CRATE_NAME?? with the name of your crate. Push the changes to your repo or open a PR, and Drone will detect it and run the builds.

Releasing

Drone will automatically deploy to GitHub releases whenever you push a new annotated tag that starts with v. For example:

# The -a makes it an annotated tag
git tag -a v1.0.2 && git push --tags

This will create a new 1.0.2 release on GitHub that Drone will add your Windows, Mac, and Linux builds to so that users can download them.

Build Badge

At the bottom of the Drone settings page you can copy a link to create a nice build status badge for your repo: Build Status.

Example

This repo contains the default Amethyst game example and demonstrates successfully using this Drone config. You can see what a release looks like from the releases page.

If you have any questions, open an issue!

amethyst-drone-config's People

Contributors

zicklag avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.