game: add helpers functions #579
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
name: Docker Build Push | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: snickerbockers/submodules-init@v4 | |
- name: Build the Docker image | |
run: | | |
sudo apt-get update --fix-missing | |
sudo apt-get install -y -f -o Acquire::Retries=3 mesa-utils libglu1-mesa | |
docker build -t yirl-build ./docker | |
docker run -v $PWD:/yirl yirl-build scl enable devtoolset-9 "/yirl/docker/make.sh https://github.com/cosmo-ray/yirl.git" | |
whoami | |
sudo chown $(whoami) -R ./docker-package/ | |
./docker-package/yirl-loader.sh -h | |
mv docker-package/ yirl/ | |
mv *.ttf yirl/ | |
mv scripts-dependancies yirl/ | |
mv include yirl/ | |
tar cvfz yirl.tar.gz ./yirl/ | |
mv modules yirl/ | |
tar cvfz yirl-mods.tar.gz ./yirl/ | |
- uses: "marvinpinto/action-automatic-releases@latest" | |
with: | |
repo_token: "${{ secrets.TOKEN }}" | |
automatic_release_tag: "latest" | |
prerelease: true | |
title: "Linux Nightly" | |
files: | | |
LICENSE | |
yirl.tar.gz | |
yirl-mods.tar.gz |