diff options
| author | lizzie <lizzie@eden-emu.dev> | 2025-07-23 09:53:45 +0200 |
|---|---|---|
| committer | crueter <crueter@eden-emu.dev> | 2025-07-23 09:53:45 +0200 |
| commit | 275d64e653b29b494d91d6e36da6bb0afb42b906 (patch) | |
| tree | cf212561290f2eed30ad5feda13d0c74ab3e86c7 /.ci | |
| parent | 7962c81738e91ed1ff839ef124363563d508234b (diff) | |
[docs] add into docs/ and make links local (#93)
Co-authored-by: crueter <crueter@eden-emu.dev>
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/93
Co-authored-by: lizzie <lizzie@eden-emu.dev>
Co-committed-by: lizzie <lizzie@eden-emu.dev>
Diffstat (limited to '.ci')
| -rwxr-xr-x | .ci/linux/build.sh | 14 | ||||
| -rwxr-xr-x | .ci/linux/package.sh | 9 | ||||
| -rwxr-xr-x | .ci/windows/cygwin.bat | 19 | ||||
| -rwxr-xr-x | .ci/windows/install-vulkan-sdk.ps1 | 2 | ||||
| -rwxr-xr-x | .ci/windows/qt-envvars.sh | 7 |
5 files changed, 17 insertions, 34 deletions
diff --git a/.ci/linux/build.sh b/.ci/linux/build.sh index 093b30a7ea..a92cb3fd91 100755 --- a/.ci/linux/build.sh +++ b/.ci/linux/build.sh @@ -3,7 +3,6 @@ # SPDX-FileCopyrightText: 2025 eden Emulator Project # SPDX-License-Identifier: GPL-3.0-or-later -export ARCH="$(uname -m)" case "$1" in amd64|"") @@ -11,15 +10,15 @@ case "$1" in ARCH="amd64_v3" ARCH_FLAGS="-march=x86-64-v3" ;; - steamdeck) + steamdeck|zen2) echo "Making Steam Deck (Zen 2) optimized build of Eden" ARCH="steamdeck" ARCH_FLAGS="-march=znver2 -mtune=znver2" ;; - rog-ally|allyx) + rog-ally|allyx|zen4) echo "Making ROG Ally X (Zen 4) optimized build of Eden" ARCH="rog-ally-x" - ARCH_FLAGS="-march=znver3 -mtune=znver4" # GH actions runner is a Zen 3 CPU, so a small workaround + ARCH_FLAGS="-march=znver4 -mtune=znver4" ;; legacy) echo "Making amd64 generic build of Eden" @@ -36,8 +35,13 @@ case "$1" in ARCH=armv9 ARCH_FLAGS="-march=armv9-a -mtune=generic -w" ;; + native) + echo "Making native build of Eden" + ARCH="$(uname -m)" + ARCH_FLAGS="-march=native -mtune=native" + ;; *) - echo "Invalid target $1 specified, must be one of amd64, steamdeck, allyx, rog-ally, legacy, aarch64, armv9" + echo "Invalid target $1 specified, must be one of native, amd64, steamdeck, zen2, allyx, rog-ally, zen4, legacy, aarch64, armv9" exit 1 ;; esac diff --git a/.ci/linux/package.sh b/.ci/linux/package.sh index 21fd72cb08..41e07ea207 100755 --- a/.ci/linux/package.sh +++ b/.ci/linux/package.sh @@ -16,11 +16,11 @@ case "$1" in echo "Packaging amd64-v3 optimized build of Eden" ARCH="amd64_v3" ;; - steamdeck) + steamdeck|zen2) echo "Packaging Steam Deck (Zen 2) optimized build of Eden" ARCH="steamdeck" ;; - rog-ally|allyx) + rog-ally|allyx|zen4) echo "Packaging ROG Ally X (Zen 4) optimized build of Eden" ARCH="rog-ally-x" ;; @@ -36,6 +36,11 @@ case "$1" in echo "Packaging armv9-a build of Eden" ARCH=armv9 ;; + native) + echo "Packaging native build of Eden" + ARCH="$BASE_ARCH" + ;; + esac export BUILDDIR="$2" diff --git a/.ci/windows/cygwin.bat b/.ci/windows/cygwin.bat deleted file mode 100755 index e772780fac..0000000000 --- a/.ci/windows/cygwin.bat +++ /dev/null @@ -1,19 +0,0 @@ -echo off - -call C:\tools\cygwin\cygwinsetup.exe -q -P autoconf,automake,libtool,make,pkg-config - -REM Create wrapper batch files for Cygwin tools in a directory that will be in PATH -REM uncomment this for first-run only -REM call mkdir C:\cygwin-wrappers - -REM Create autoconf.bat wrapper -call echo @echo off > C:\cygwin-wrappers\autoconf.bat -call echo C:\tools\cygwin\bin\bash.exe -l -c "autoconf %%*" >> C:\cygwin-wrappers\autoconf.bat - -REM Add other wrappers if needed for other Cygwin tools -call echo @echo off > C:\cygwin-wrappers\automake.bat -call echo C:\tools\cygwin\bin\bash.exe -l -c "automake %%*" >> C:\cygwin-wrappers\automake.bat - -REM Add the wrappers directory to PATH -call echo C:\cygwin-wrappers>>"%GITHUB_PATH%" -call echo C:\tools\cygwin\bin>>"%GITHUB_PATH%" diff --git a/.ci/windows/install-vulkan-sdk.ps1 b/.ci/windows/install-vulkan-sdk.ps1 index de218d90ad..ca8c64b5cd 100755 --- a/.ci/windows/install-vulkan-sdk.ps1 +++ b/.ci/windows/install-vulkan-sdk.ps1 @@ -3,7 +3,7 @@ $ErrorActionPreference = "Stop" -$VulkanSDKVer = "1.3.250.1" +$VulkanSDKVer = "1.4.321.1" $ExeFile = "VulkanSDK-$VulkanSDKVer-Installer.exe" $Uri = "https://sdk.lunarg.com/sdk/download/$VulkanSDKVer/windows/$ExeFile" $Destination = "./$ExeFile" diff --git a/.ci/windows/qt-envvars.sh b/.ci/windows/qt-envvars.sh deleted file mode 100755 index ec314b863f..0000000000 --- a/.ci/windows/qt-envvars.sh +++ /dev/null @@ -1,7 +0,0 @@ -# This is specific to the CI runner and is unlikely to work on your machine. -QTDIR="/c/Qt/6.9.0/msvc2022_64" - -export QT_ROOT_DIR="$QTDIR" -export QT_PLUGIN_PATH="$QTDIR/plugins" -export QML2_IMPORT_PATH="$QTDIR/qml" -export PATH="${PATH};$QTDIR/bin"
\ No newline at end of file |
