Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.

Commit

Permalink
The big rewrite start
Browse files Browse the repository at this point in the history
  • Loading branch information
OFFTKP committed Jan 1, 2024
1 parent 1a33826 commit 465d85e
Show file tree
Hide file tree
Showing 9,036 changed files with 2,423,311 additions and 146,908 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
31 changes: 0 additions & 31 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

20 changes: 0 additions & 20 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

23 changes: 23 additions & 0 deletions .github/workflows/FreeBSD.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Build FreeBSD
on: [push,pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build
id: test
uses: vmactions/freebsd-vm@v1
with:
usesh: true
prepare: |
pkg install -y curl cmake libX11 libXi libXrandr libXinerama libXcursor libglvnd alsa-lib
run: |
cmake -B build
cmake --build build -GNinja --config Release
- name: Release
uses: actions/upload-artifact@v2
with:
name: FreeBSDRelease
path: build/
22 changes: 22 additions & 0 deletions .github/workflows/Linux.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Build Linux
on: [push,pull_request]
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y libx11-dev libxi-dev libxrandr-dev libxinerama-dev libxcursor-dev
sudo apt-get install -y libgl1-mesa-dev libegl1-mesa-dev libasound2-dev
- name: Build
run: |
cmake -B build
cmake --build build -GNinja --config Release
- name: Release
uses: actions/upload-artifact@v2
with:
name: LinuxRelease
path: build/
44 changes: 22 additions & 22 deletions .github/workflows/MacOS.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
name: Build MacOS

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

name: Build macOS
on: [push,pull_request]
jobs:
build:

build-and-deploy:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: ccache
uses: hendrikmuhs/[email protected]
- name: install-deps
run: brew install qt6 ninja lua openssl
- name: configure
run: cmake -B build -G Ninja -D CMAKE_C_COMPILER_LAUNCHER=ccache -D CMAKE_CXX_COMPILER_LAUNCHER=ccache -D OPENSSL_ROOT_DIR=/usr/local/opt/openssl
- name: make
run: cmake --build build --target hydra
- name: Checkout
uses: actions/[email protected]
- name: Build
run: |
cmake -B build
cmake --build build -GNinja --config Release
- name: Build DMG
run: |
cd build
brew install graphicsmagick imagemagick
pip install setuptools
npm install --global create-dmg
create-dmg --dmg-title=hydra 'hydra.app' || true
mv hydra*.dmg "hydra.dmg"
- name: GH Release 🚀
uses: actions/upload-artifact@v2
with:
name: MacOSRelease
path: build/hydra.dmg
39 changes: 0 additions & 39 deletions .github/workflows/Ubuntu.yml

This file was deleted.

42 changes: 16 additions & 26 deletions .github/workflows/Windows.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,19 @@
name: Build Windows

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

on: [push,pull_request]
jobs:
build:

runs-on: windows-latest

build-and-deploy:
runs-on: windows-2019
steps:
- name: install-qt
uses: jurplel/[email protected]
with:
version: '6.2.*'
- uses: actions/checkout@v3
with:
submodules: 'true'
- name: ccache
uses: hendrikmuhs/[email protected]
- name: install-deps
run: vcpkg install --triplet x64-windows lua
- name: configure
run: cmake -B build -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON
- name: make
run: cmake --build build --target hydra --config Release
- name: Checkout
uses: actions/[email protected]
- name: Get latest CMake and ninja
uses: lukka/get-cmake@latest
- name: Build
run: |
cmake -G "Visual Studio 16 2019" -A x64 -DCMAKE_SYSTEM_VERSION=10.0.19041.0 -B build
cmake --build build --config Release
- name: Release
uses: actions/upload-artifact@v2
with:
name: WindowsRelease
path: build/
20 changes: 20 additions & 0 deletions .github/workflows/iOS.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Build iOS
on: [push,pull_request]
jobs:
build-and-deploy:
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Build
run: |
cmake -GXcode -DSOKOL_BACKEND=SOKOL_METAL -DCMAKE_SYSTEM_NAME=iOS -B build
cmake --build build --config Release
mkdir Payload
cp -R Release/SkyEmu.app Payload/SkyEmu.app
zip -r hydra.ipa Payload
- name: Release
uses: actions/upload-artifact@v2
with:
name: iOSRelease
path: build/hydra.ipa
Loading

0 comments on commit 465d85e

Please sign in to comment.