diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index 0fd5f35..58892a2 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -12,6 +12,9 @@ jobs: steps: + - name: Checkout code + uses: actions/checkout@v4 + - name: Checkout horusdemodlib uses: actions/checkout@v4 with: @@ -27,9 +30,6 @@ jobs: cmake .. -G "MinGW Makefiles" mingw32-make - - name: Checkout code - uses: actions/checkout@v4 - - uses: actions/setup-python@v5 with: python-version: '3.7' @@ -40,3 +40,18 @@ jobs: - name: Install other dependencies run: pip install -r requirements.txt + + - name: Install pyinstaller + run: pip install pyinstaller + + - name: Prep file locations + shell: bash + run: | + mkdir -p dist + cp horusdemodlib/build/src/libhorus.dll . + cp "C:\Program Files\Git\mingw64\bin\libgcc_s_seh-1.dll" . + cp "C:\Program Files\Git\mingw64\bin\libstdc++-6.dll" . + cp "C:\Program Files\Git\mingw64\bin\libwinpthread-1.dll" . + + - name: Run pyinstaller + run: pyinstaller horus-gui_win.spec