Skip to content

fix path issue

fix path issue #4

Workflow file for this run

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 SDL 2.32.10 for macOS universal
run: |
bash tools/build_sdl_macos.sh
- name: Build macOS (x86_64 + arm64)
run: |
cd MacOS
make clean
make
- name: Verify dylib linking
run: |
cd MacOS
make check-dylibs
- name: Upload macOS build artifact
uses: actions/upload-artifact@v4
if: success()
with:
name: Kiwi8-macOS
path: MacOS/release/Kiwi8.app
retention-days: 7
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@v4
- name: Install CMake
run: |
choco install cmake -y
- name: Setup MSVC
uses: microsoft/setup-msbuild@v1.1
- name: Build SDL 2.32.10 for Windows x64
shell: pwsh
run: |
cd ${{ github.workspace }}
.\tools\build_sdl_windows.ps1
- name: Build Windows (x64)
shell: cmd
run: |
cd Windows
nmake clean
nmake build_release
- name: Upload Windows build artifact
uses: actions/upload-artifact@v4
if: success()
with:
name: Kiwi8-Windows-x64
path: |
Windows/release/Kiwi8.exe
Windows/release/SDL2.dll
retention-days: 7