-
Notifications
You must be signed in to change notification settings - Fork 2
41 lines (36 loc) · 1.19 KB
/
build.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
name: CI
on: [push, pull_request]
jobs:
build_xbox_standard:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.9
uses: actions/setup-python@v4
with:
python-version: '3.9'
- name: Download Mackiloha
run: |
pip install requests
python dependencies/dev_scripts/download_mackiloha.py
- name: Set env
run: |
echo "GITHUB_SHA_SHORT=$(echo $GITHUB_SHA | cut -c 1-7)" >> $GITHUB_ENV
echo "::set-output name=sha_short::$(git rev-parse --short HEAD)"
chmod +x dependencies/linux/arkhelper
chmod +x dependencies/linux/dtab
chmod +x dependencies/linux/superfreq
pip install gitpython
pip install mido
- name: Print build info
run: |
echo $GITHUB_SHA_SHORT
python dependencies/dev_scripts/add_devbuild.py $GITHUB_SHA_SHORT
- name: Build ARK
run: |
dependencies/linux/arkhelper dir2ark ./_ark ./_build/gen -n "patch_xbox" -e -v 6
- name: Upload result
uses: actions/upload-artifact@v2
with:
name: DC3DX-Xbox
path: _build