瀏覽代碼

Add staging-tkg to WoW64 CI

Kron4ek 7 月之前
父節點
當前提交
56a4c858ba
共有 2 個文件被更改,包括 8 次插入3 次删除
  1. 1 0
      .github/workflows/wine-exp-wow64.yml
  2. 7 3
      build_wine.sh

+ 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)"