1
0
Эх сурвалжийг харах

Add staging-tkg to WoW64 CI

Kron4ek 7 сар өмнө
parent
commit
56a4c858ba

+ 1 - 0
.github/workflows/wine-exp-wow64.yml

@@ -28,6 +28,7 @@ jobs:
           export EXPERIMENTAL_WOW64="true"
           WINE_BRANCH=vanilla ./build_wine.sh
           WINE_BRANCH=staging ./build_wine.sh
+          WINE_BRANCH=staging-tkg ./build_wine.sh
           sha256sum *.tar.xz
       - uses: actions/upload-artifact@v3
         with:

+ 7 - 3
build_wine.sh

@@ -207,10 +207,14 @@ if [ -n "${CUSTOM_SRC_PATH}" ]; then
 	WINE_VERSION="$(cat wine/VERSION | tail -c +14)"
 	BUILD_NAME="${WINE_VERSION}"-custom
 elif [ "$WINE_BRANCH" = "staging-tkg" ] || [ "$WINE_BRANCH" = "staging-tkg-ntsync" ]; then
-	if [ "$WINE_BRANCH" = "staging-tkg" ]; then
-		git clone https://github.com/Kron4ek/wine-tkg wine
+	if [ "${EXPERIMENTAL_WOW64}" = "true" ]; then
+		git clone https://github.com/Kron4ek/wine-tkg wine -b wow64
 	else
-		git clone https://github.com/Kron4ek/wine-tkg wine -b ntsync
+		if [ "$WINE_BRANCH" = "staging-tkg" ]; then
+			git clone https://github.com/Kron4ek/wine-tkg wine
+		else
+			git clone https://github.com/Kron4ek/wine-tkg wine -b ntsync
+		fi
 	fi
 
 	WINE_VERSION="$(cat wine/VERSION | tail -c +14)"