Stub of a new production. #990
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: Demoscene | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
style: | |
name: Python Style | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Setup Python 3.9 | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.9 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install pycodestyle | |
- name: Check Python code style | |
run: bash style-python | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
container: cahirwpz/demoscene:latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
with: | |
lfs: true | |
- name: Setup GoLang | |
uses: actions/setup-go@v4 | |
with: | |
go-version: '>=1.19.0' | |
cache-dependency-path: tools/**/go.sum | |
- name: Build everything | |
run: make | |
- name: Upload artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: effects | |
path: effects/*/*.adf |