-
Notifications
You must be signed in to change notification settings - Fork 24
51 lines (48 loc) · 1.11 KB
/
default.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
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