Merge pull request #1417 from LucasXu0/ci

fix: Windows CI error, need to install vcpkg
This commit is contained in:
Lucas.Xu 2022-11-07 15:08:54 +08:00 committed by GitHub
commit adaad9367d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,6 +64,8 @@ jobs:
sudo apt-get update sudo apt-get update
sudo apt-get install -y dart curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev sudo apt-get install -y dart curl build-essential libsqlite3-dev libssl-dev clang cmake ninja-build pkg-config libgtk-3-dev
sudo apt-get install keybinder-3.0 sudo apt-get install keybinder-3.0
elif [ "$RUNNER_OS" == "Windows" ]; then
vcpkg integrate install
elif [ "$RUNNER_OS" == "macOS" ]; then elif [ "$RUNNER_OS" == "macOS" ]; then
echo 'do nothing' echo 'do nothing'
fi fi
@ -87,7 +89,7 @@ jobs:
flutter config --enable-linux-desktop flutter config --enable-linux-desktop
elif [ "$RUNNER_OS" == "macOS" ]; then elif [ "$RUNNER_OS" == "macOS" ]; then
flutter config --enable-macos-desktop flutter config --enable-macos-desktop
elif [ "$RUNNER_OS" == "windows" ]; then elif [ "$RUNNER_OS" == "Windows" ]; then
flutter config --enable-windows-desktop flutter config --enable-windows-desktop
fi fi
shell: bash shell: bash