mirror of
https://github.com/Zelda64Recomp/Zelda64Recomp.git
synced 2026-05-01 14:41:41 +00:00
Add windows
This commit is contained in:
parent
3cc80e47c4
commit
d247f092dc
1 changed files with 53 additions and 53 deletions
106
.github/workflows/validate.yml
vendored
106
.github/workflows/validate.yml
vendored
|
|
@ -89,56 +89,56 @@ jobs:
|
||||||
path: |
|
path: |
|
||||||
Zelda64Recompiled
|
Zelda64Recompiled
|
||||||
assets/
|
assets/
|
||||||
# build-windows:
|
build-windows:
|
||||||
# runs-on: windows-latest
|
runs-on: windows-latest
|
||||||
# strategy:
|
strategy:
|
||||||
# matrix:
|
matrix:
|
||||||
# type: [ Debug, Release ]
|
type: [ Debug, Release ]
|
||||||
# steps:
|
steps:
|
||||||
# - name: Checkout
|
- name: Checkout
|
||||||
# uses: actions/checkout@v4
|
uses: actions/checkout@v4
|
||||||
# with:
|
with:
|
||||||
# submodules: recursive
|
submodules: recursive
|
||||||
# - name: ccache
|
- name: ccache
|
||||||
# uses: hendrikmuhs/ccache-action@v1.2
|
uses: hendrikmuhs/ccache-action@v1.2
|
||||||
# with:
|
with:
|
||||||
# key: ${{ runner.os }}-z64re-ccache-${{ matrix.type }}
|
key: ${{ runner.os }}-z64re-ccache-${{ matrix.type }}
|
||||||
# - name: Install Windows Dependencies
|
- name: Install Windows Dependencies
|
||||||
# run: |
|
run: |
|
||||||
# choco install ninja gnupg
|
choco install ninja gnupg
|
||||||
# Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force -ErrorAction SilentlyContinue
|
Remove-Item -Path "C:\ProgramData\Chocolatey\bin\ccache.exe" -Force -ErrorAction SilentlyContinue
|
||||||
# - name: Configure Developer Command Prompt
|
- name: Configure Developer Command Prompt
|
||||||
# uses: ilammy/msvc-dev-cmd@v1
|
uses: ilammy/msvc-dev-cmd@v1
|
||||||
# - name: Prepare Build
|
- name: Prepare Build
|
||||||
# run: |-
|
run: |-
|
||||||
# git clone https://${{ secrets.PAT }}@github.com/dcvz/zre.git
|
git clone https://${{ secrets.PAT }}@github.com/dcvz/zre.git
|
||||||
# ./zre/process.ps1
|
./zre/process.ps1
|
||||||
# env:
|
env:
|
||||||
# LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
|
LARGE_SECRET_PASSPHRASE: ${{ secrets.LARGE_SECRET_PASSPHRASE }}
|
||||||
# - name: Build N64Recomp & RSPRecomp
|
- name: Build N64Recomp & RSPRecomp
|
||||||
# run: |
|
run: |
|
||||||
# git clone https://github.com/Mr-Wiseguy/N64Recomp.git --recurse-submodules N64RecompSource
|
git clone https://github.com/Mr-Wiseguy/N64Recomp.git --recurse-submodules N64RecompSource
|
||||||
# cd N64RecompSource
|
cd N64RecompSource
|
||||||
#
|
|
||||||
# # enable ccache
|
# enable ccache
|
||||||
# set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
||||||
#
|
|
||||||
# cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
||||||
# cmake --build cmake-build --config Release --target N64Recomp -j 8
|
cmake --build cmake-build --config Release --target N64Recomp -j 8
|
||||||
# cmake --build cmake-build --config Release --target RSPRecomp -j 8
|
cmake --build cmake-build --config Release --target RSPRecomp -j 8
|
||||||
#
|
|
||||||
# # Copy N64Recomp & RSPRecomp to root directory
|
# Copy N64Recomp & RSPRecomp to root directory
|
||||||
# cp cmake-build/N64Recomp.exe ..
|
cp cmake-build/N64Recomp.exe ..
|
||||||
# cp cmake-build/RSPRecomp.exe ..
|
cp cmake-build/RSPRecomp.exe ..
|
||||||
# - name: Run N64Recomp & RSPRecomp
|
- name: Run N64Recomp & RSPRecomp
|
||||||
# run: |
|
run: |
|
||||||
# ./N64Recomp.exe us.rev1.toml
|
./N64Recomp.exe us.rev1.toml
|
||||||
# ./RSPRecomp.exe aspMain.us.rev1.toml
|
./RSPRecomp.exe aspMain.us.rev1.toml
|
||||||
# ./RSPRecomp.exe njpgdspMain.us.rev1.toml
|
./RSPRecomp.exe njpgdspMain.us.rev1.toml
|
||||||
# - name: Build ZeldaRecomp (Unix)
|
- name: Build ZeldaRecomp (Unix)
|
||||||
# run: |-
|
run: |-
|
||||||
# # enable ccache
|
# enable ccache
|
||||||
# set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
set $env:PATH="$env:USERPROFILE/.cargo/bin;$env:PATH"
|
||||||
#
|
|
||||||
# cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
cmake -DCMAKE_BUILD_TYPE=${{ matrix.type }} -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_MAKE_PROGRAM=ninja -G Ninja -S . -B cmake-build
|
||||||
# cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j 8
|
cmake --build cmake-build --config ${{ matrix.type }} --target Zelda64Recompiled -j 8
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue