-
Notifications
You must be signed in to change notification settings - Fork 86
52 lines (46 loc) · 1.21 KB
/
pr_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
42
43
44
45
46
47
48
49
50
51
52
name: pr_build
on:
pull_request:
branches:
- dev
types: [opened, reopened, synchronize, ready_for_review]
jobs:
pr_build:
env:
PLUGIN_NAME: hdr
runs-on: ubuntu-20.04
container:
image: hewdrawremix/hewdraw-builder:latest
steps:
- name: setup python
uses: actions/setup-python@v2
with:
python-version: '3.9'
- name: checkout version
uses: actions/checkout@v2
#- name: Rust Cache
# uses: Swatinem/[email protected]
# with:
# workspaces: "plugin"
# cache-targets: true
# cache-all-crates: true
# build the project
- run: |
cd scripts && NO_RUST_NIGHTLY=1 python3 make_dist.py build version=1.69.420-pr name=hdr-pr && cd ..
env:
HOME: /root
## mock upload files
#- run: |
# mkdir distributions
# echo lol > distributions/hdr-switch.zip
# echo lol > distributions/hdr-ryujinx.zip
- name: Upload hdr-switch
uses: actions/upload-artifact@v3
with:
name: hdr-switch
path: build/hdr-switch
- name: Upload hdr-ryujinx
uses: actions/upload-artifact@v3
with:
name: hdr-ryujinx
path: build/hdr-ryujinx