aboutsummaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/windows.yml25
1 files changed, 24 insertions, 1 deletions
diff --git a/.github/workflows/windows.yml b/.github/workflows/windows.yml
index 69ecb284e5..c96af9512a 100644
--- a/.github/workflows/windows.yml
+++ b/.github/workflows/windows.yml
@@ -10,13 +10,19 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Choco install
- run: cinst -y --no-progress --force winflexbison3 cmake
+ run: cinst -y --force --no-progress asciidoctorj xsltproc docbook-bundle winflexbison3 cmake nsis
- name: Install strawberryperl
run: |
choco install strawberryperl
echo "##[add-path]C:\strawberry\c\bin;C:\strawberry\perl\site\bin;C:\strawberry\perl\bin"
- name: Install Qt
uses: jurplel/install-qt-action@v2
+ - name: Add msbuild to PATH
+ uses: microsoft/setup-msbuild@v1.0.0
+ with:
+ vs-version: 16.4
+ - name: Set MSVC command prompt
+ uses: ilammy/msvc-dev-cmd@v1
- name: Mkdir
run: mkdir build
- name: Cmake
@@ -29,6 +35,9 @@ jobs:
- name: Build
run: cmake --build . --config RelWithDebInfo
working-directory: build
+ - name: Build guides
+ run: cmake --build . --config RelWithDebInfo --target user_guide_chm
+ working-directory: build
- name: Build test-programs
run: cmake --build . --config RelWithDebInfo --target test-programs
working-directory: build
@@ -43,3 +52,17 @@ jobs:
PYTEST_ADDOPTS: --skip-missing-programs=rawshark
run: pytest
working-directory: build
+ - name: Build Windows pkg
+ run: |
+ msbuild /m /p:Configuration=RelWithDebInfo nsis_package_prep.vcxproj
+ msbuild /m /p:Configuration=RelWithDebInfo nsis_package.vcxproj
+ working-directory: build
+ - name: Move Windows packages
+ run: |
+ mkdir exe
+ mv build/packaging/nsis/*exe exe/
+ - name: Upload Windows packages
+ uses: actions/upload-artifact@v1
+ with:
+ name: packages
+ path: exe