forked from UE4SS-RE/RE-UE4SS
-
Notifications
You must be signed in to change notification settings - Fork 7
49 lines (46 loc) · 1.3 KB
/
windows-test.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
name: Windows Test Build
on:
workflow_dispatch:
push:
branches: [ "linux-port" ]
paths:
- "UE4SS/src/**"
- "UE4SS/include/**"
- "UE4SS/generated_src/**"
- "UE4SS/generated_include/**"
- "deps/**"
- "UE4SS/proxy_generator/**"
- ".github/workflows/windows-test.yml"
- "CMakeLists.txt"
permissions:
contents: read
jobs:
make-release:
runs-on: windows-2022
steps:
- name: Setup github SSH
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.SSHKEY }}
known_hosts: unnecessary
- name: Checkout
uses: actions/checkout@v4
with:
submodules: recursive
fetch-depth: 0 # needed to get commits since last tag
ssh-key: ${{ secrets.SSHKEY }}
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1
- name: Setup Ninja
uses: seanmiddleditch/gha-setup-ninja@v3
- name: Setup Rust
uses: dtolnay/[email protected]
- name: Build
run: |
cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Game__Shipping__Win64
cmake --build build
- name: Upload Artifacts
uses: actions/upload-artifact@v3
with:
name: Windows-Release
path: build/Output/Game__Shipping__Win64/UE4SS/bin