CICD to build wireshark plugin releases for linux and mac #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: windows-build | ||
on: | ||
push: | ||
branches: [main] | ||
paths: [wireshark/*, wireshark/source/*, wireshark/build-scripts/*] | ||
workflow_dispatch: | ||
jobs: | ||
wireshark-windows: | ||
name: build | ||
runs-on: windows-2022 | ||
env: | ||
PLATFORM: x64 | ||
WIRESHARK_BASE_DIR: C:\Development | ||
CMAKE_PREFIX_PATH: D:\a\wireshark\Qt\6.2.3\msvc2019_64 | ||
WIRESHARK_VERSION_EXTRA: -GithubActionBuild | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: create cache dir | ||
run: mkdir "C:\choco-cache" | ||
- name: cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: "C:\choco-cache" | ||
key: "C:\choco-cache" | ||
- name: Set Chocolatey cache location | ||
run: choco config set cacheLocation "C:\choco-cache" | ||
- name: Choco install | ||
run: choco install -y --force asciidoctorj |