-
Notifications
You must be signed in to change notification settings - Fork 1
66 lines (54 loc) · 1.41 KB
/
build.yml
File metadata and controls
66 lines (54 loc) · 1.41 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
57
58
59
60
61
62
63
64
65
66
name: Build
on:
push:
branches:
- develop
# pull_request:
# types:
# - closed
# branches:
# - develop
jobs:
build-macos:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- name: Install build dependencies
run: |
brew install cmake pkg-config nasm
- name: Build macOS (x86_64 + arm64)
run: |
cd MacOS
make
- name: Zip application bundle
run: zip -r -y "MacOS/release/Kiwi8.zip" "MacOS/release/Kiwi8.app"
- name: Upload macOS build artifact
uses: actions/upload-artifact@v4
if: success()
with:
name: Kiwi8-macOS
path: MacOS/release/Kiwi8.zip
retention-days: 7
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Configures build environment for AMD64
uses: ilammy/msvc-dev-cmd@v1
with:
arch: amd64
- name: Build Windows (x64)
shell: cmd
run: |
cd Windows
nmake
- name: Create Zip Archive
run: Compress-Archive -Path Windows\release\* -DestinationPath Windows\release\Kiwi8.zip
- name: Upload Windows build artifact
uses: actions/upload-artifact@v4
if: success()
with:
name: Kiwi8-Windows
path: |
Windows/release/Kiwi8.zip
retention-days: 7