Skip to content

Commit

Permalink
issue #59 - Windows 11 installation support
Browse files Browse the repository at this point in the history
  • Loading branch information
parvit committed Aug 27, 2024
1 parent 90d0000 commit e448dd3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,7 @@ jobs:
QPEP_CI_ENV: 1
CMAKE_BUILD_PARALLEL_LEVEL: 4
IGNORE_PACKAGES: 'tray|docker|docs|version|webgui'
MINGW_BASEDIR: 'C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin'
defaults:
run:
shell: cmd
Expand Down Expand Up @@ -166,7 +167,7 @@ jobs:
uses: egor-tensin/setup-mingw@v2
with:
platform: x64
static: false
static: true
version: 11.1.0

- name: Set up CMake
Expand All @@ -176,13 +177,18 @@ jobs:

- name: Prepare
run: |
@echo on
MKDIR build
MKDIR build\64bits
MKDIR build\32bits
COPY /Y windivert\LICENSE build\LICENSE.windivert
COPY /Y LICENSE build\LICENSE
go clean -cache -x
COPY /Y windivert\x64\* build\64bits
COPY /y "%MINGW_BASEDIR%\libgcc_s_seh-1.dll" build\64bits
COPY /y "%MINGW_BASEDIR%\libwinpthread-1.dll" build\64bits
COPY /y "%MINGW_BASEDIR%\libstdc++-6.dll" build\64bits
- name: Build Backends
run: |
Expand All @@ -196,7 +202,7 @@ jobs:
- name: Build QPep Tray
run: |
pushd qpep-tray
export CGO_ENABLED=0
set CGO_ENABLED=0
go build -ldflags -H=windowsgui -o ..\build\64bits\qpep-tray.exe
popd
Expand Down

0 comments on commit e448dd3

Please sign in to comment.