Files
OmniEmu2.0/.github/workflows/build.yml
T
miles 27a5394510 feat: add core functionality for emulator management and game library
- Implement IPC handlers for system info, emulator management, ROM scanning, and settings.
- Create platform utilities to retrieve system information.
- Develop preload script to expose API to renderer process.
- Establish settings management with file read/write capabilities.
- Build main application layout with React, including sidebar navigation and multiple pages (Dashboard, Emulators, Library, Settings).
- Design and implement styles for a cohesive user interface.
- Add type definitions for shared data structures between main and renderer processes.
- Configure TypeScript and Vite for building the application.
2026-07-08 15:59:59 -05:00

74 lines
1.6 KiB
YAML

name: Build and Release
on:
push:
branches: [main]
tags:
- 'v*'
pull_request:
branches: [main]
jobs:
build:
strategy:
matrix:
include:
- os: macos-latest
arch: x64
target: mac-x64
- os: macos-latest
arch: arm64
target: mac-arm64
- os: windows-latest
arch: x64
target: win-x64
- os: ubuntu-latest
arch: x64
target: linux-x64
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Package
run: npx electron-builder --${{ matrix.target == 'win-x64' && 'win' || matrix.target == 'mac-x64' && 'mac' || matrix.target == 'mac-arm64' && 'mac' || 'linux' }} --${{ matrix.arch }}
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: omniemu-${{ matrix.target }}
path: release/*
release:
if: startsWith(github.ref, 'refs/tags/v')
needs: [build]
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Download all artifacts
uses: actions/download-artifact@v4
- name: Create Release
uses: softprops/action-gh-release@v2
with:
files: omniemu-*/*
generate_release_notes: true