-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
56 lines (45 loc) · 1.45 KB
/
ci.yml
File metadata and controls
56 lines (45 loc) · 1.45 KB
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
53
54
55
56
name: Build OpenSpeedy
on:
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: self-hosted
outputs:
artifact-id: ${{ steps.upload-unsigned-artifacts.outputs.artifact-id }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Build 32-bit
shell: cmd
run: |
echo Building 32-bit...
call script\initenv.bat
call script\build32.bat
- name: Build 64-bit
shell: cmd
run: |
echo Building 64-bit...
call script\initenv.bat
call script\build64.bat
- name: Collect artifacts to flat directory
shell: cmd
run: |
echo Collecting artifacts...
if not exist "artifacts" mkdir "artifacts"
copy "build\CMAKE_x64_static-Release\OpenSpeedy.exe" "artifacts\"
copy "build\CMAKE_x64_static-Release\speedpatch64.dll" "artifacts\"
copy "build\CMAKE_x64_static-Release\bridge64.exe" "artifacts\"
copy "build\CMAKE_x86_static-Release\speedpatch32.dll" "artifacts\"
copy "build\CMAKE_x86_static-Release\bridge32.exe" "artifacts\"
echo Artifacts directory contents:
dir "artifacts"
- name: Upload unsigned artifacts
id: upload-unsigned-artifacts
uses: actions/upload-artifact@v4
if: success()
with:
name: OpenSpeedy-unsigned-artifacts
path: artifacts/
if-no-files-found: warn