Skip to content

Commit

Permalink
Stop Windows support indefinitely
Browse files Browse the repository at this point in the history
  • Loading branch information
SimoneN64 committed May 26, 2024
1 parent 1808afe commit f6afa56
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 57 deletions.
32 changes: 0 additions & 32 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,36 +29,4 @@ jobs:
with:
name: kaizen-linux
path: upload
if-no-files-found: error
build-windows:
runs-on: windows-latest
steps:
- uses: actions/checkout@master
with:
submodules: recursive
- name: Setup dependencies
run: |
vcpkg install sdl2[vulkan]:x64-windows
- name: Setup Qt
uses: jurplel/install-qt-action@v3
with:
arch: win64_msvc2019_64
version: 6.6.*
- name: Build Kaizen
run: |
cmake -B build -T clangcl -DCMAKE_TOOLCHAIN_FILE=C:/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
- name: Collect artifacts
run: |
mkdir upload
cp build/src/frontend/Release/kaizen-qt.exe upload
mkdir upload/resources
cp resources/* upload/resources
cp build/src/frontend/Release/SDL2.dll upload
windeployqt --dir upload upload/kaizen-qt.exe
- name: Upload artifacts
uses: actions/upload-artifact@master
with:
name: kaizen-windows
path: upload
if-no-files-found: error
7 changes: 1 addition & 6 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,12 @@ cmake_minimum_required(VERSION 3.20)

set(CMAKE_CXX_STANDARD 17)

add_compile_definitions(SIMD_SUPPORT)
if(WIN32)
add_definitions(-DNOMINMAX)
add_definitions(-D_CRT_SECURE_NO_WARNINGS)
endif ()

include(CheckCCompilerFlag)

check_c_compiler_flag(-msse4.1 HAS_SSE4_1)

if (HAS_SSE4_1)
add_compile_definitions(SIMD_SUPPORT)
add_compile_options(-msse3 -msse4.1)
endif ()

Expand Down
21 changes: 2 additions & 19 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ Rewrite of my Nintendo 64 emulator "[shibumi](https://github.com/SimoneN64/shibu
## Pre-built binaries
| Release |
|--------------------------------------------------------------------------------------------|
| [Windows](https://nightly.link/SimoneN64/Kaizen/workflows/build/master/kaizen-windows.zip) |
| [ Linux ](https://nightly.link/SimoneN64/Kaizen/workflows/build/master/kaizen-linux.zip) |

## Socials
Expand All @@ -29,23 +28,6 @@ We have a [Discord server](https://discord.gg/htzNd2rRF6)
## Build instructions:
First clone the repository: `git clone --recursive https://github.com/SimoneN64/Kaizen`

### Windows

This build uses Visual Studio with Vcpkg and Clang-cl

Dependencies:
- CMake 3.20 or higher
- SDL2 (install it by making sure that you're choosing the "vulkan" extension of the package and the x64-windows triplet: `vcpkg install sdl2[vulkan]:x64-windows`)
- Qt6 (install it with `vcpkg install qtbase[core,gui,widgets,vulkan]:x64-windows`)

```
cd path/to/kaizen
mkdir build
cd build
cmake -T clangcl -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg/scripts/buildsystems/vcpkg.cmake -DCMAKE_BUILD_TYPE=Release -S ../src
cmake --build . --config Release
```

### Linux

Dependencies:
Expand Down Expand Up @@ -82,6 +64,7 @@ Your GPU needs to support Vulkan 1.1+, because the RDP is implemented via [ParaL
- [ ] TAS tools: TAS input, recording (using Mupen's format), save-states, rewind and frame-advance
- [ ] Cheat support
- [ ] Allow to optionally pass a PIF image for the boot process (it's HLE'd at the moment)
- [ ] Windows support when it stops being a pain in the rectum.

This list will probably grow with time!

Expand All @@ -91,7 +74,7 @@ This list will probably grow with time!
- [WhoBrokeTheBuild](https://github.com/WhoBrokeTheBuild) for the shader that allows letterboxing :rocket:
- [Kelpsy](https://github.com/kelpsyberry), [fleroviux](https://github.com/fleroviux), [Kim-Dewelski](https://github.com/Kim-Dewelski), [Peach](https://github.com/wheremyfoodat/),
[kivan](https://github.com/kivan117), [liuk](https://github.com/liuk7071) and [Skyler](https://github.com/skylersaleh) for the general support and motivation :heart:
- [Spec](https://github.com/spec-chum/) for help with testing on Windows, that helped form the final build instructions :heart:
- [Spec](https://github.com/spec-chum/) for being an awesome person in general :heart:

## Copyright

Expand Down

0 comments on commit f6afa56

Please sign in to comment.