فهرست منبع

Run pyinstaller in Windows as well

Kentaro Wada 5 سال پیش
والد
کامیت
a62194be5c
1فایلهای تغییر یافته به همراه6 افزوده شده و 8 حذف شده
  1. 6 8
      .github/workflows/main.yml

+ 6 - 8
.github/workflows/main.yml

@@ -130,12 +130,10 @@ jobs:
 
     - name: Run pyinstaller
       shell: bash -l {0}
-      if: matrix.os != 'windows-latest'
+      if: matrix.PYTEST_QT_API == 'pyqt5' && matrix.python-version == '3.7'
       run: |
-        if [ "${{ matrix.PYTEST_QT_API }}" = "pyqt5" -a "${{ matrix.PYTHON_VERSION }}" = "3.6" ]; then
-          # Build the standalone executable
-          pip install 'pyinstaller!=3.4'
-          pip install 'setuptools<45.0.0'
-          pyinstaller labelme.spec
-          dist/labelme --version
-        fi
+        # Build the standalone executable
+        pip install 'pyinstaller!=3.4'
+        pip install 'setuptools<45.0.0'
+        pyinstaller labelme.spec
+        dist/labelme --version