-
Notifications
You must be signed in to change notification settings - Fork 86
48 lines (42 loc) · 1.11 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
name: pr_build
on:
pull_request:
branches:
- dev
- pre-release
types: [opened, reopened, synchronize, ready_for_review]
jobs:
pr_build:
env:
PLUGIN_NAME: hdr
runs-on: ubuntu-20.04
container:
image: wuboyth/skyline-plugin-builder:latest
steps:
# - name: setup python
# uses: actions/[email protected]
# with:
# python-version: '3.9'
- name: checkout version
uses: actions/[email protected]
#- 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/[email protected]
with:
name: hdr-switch
path: build/hdr-switch