From 059dab9152de71775f96ca7b75cfd5d564d45656 Mon Sep 17 00:00:00 2001 From: Yuanyue Li Date: Mon, 2 Oct 2023 16:10:30 -0700 Subject: [PATCH] Update build. --- .github/workflows/build_and_release_linux.yaml | 2 +- build_win.bat | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build_and_release_linux.yaml b/.github/workflows/build_and_release_linux.yaml index 1692ec9..e0a4059 100644 --- a/.github/workflows/build_and_release_linux.yaml +++ b/.github/workflows/build_and_release_linux.yaml @@ -14,7 +14,7 @@ jobs: runs-on: ${{matrix.os}} strategy: matrix: - os: [ubuntu-20.04, macos-11] + os: [ubuntu-20.04, macos-11, windows-latest] node-version: [18.x] env: VERSION: ${{github.sha}} diff --git a/build_win.bat b/build_win.bat index a790841..a28300a 100644 --- a/build_win.bat +++ b/build_win.bat @@ -3,6 +3,8 @@ call py_env\Scripts\activate.bat call pip install -r requirements.txt cd backend +rmdir /S /Q dist +rmdir /S /Q build call pyinstaller -F main.py -n entropy_search_backend.exe cd ..