Done. #32
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: Compile on Windows | |
on: | |
push: | |
branches: [ develop ] | |
paths-ignore: | |
- ".gitignore" | |
- "README.md" | |
- "CHANGELOG.md" | |
# ignore CI for other platforms | |
- ".github/workflows/android.yml" | |
- ".github/workflows/ios.yml" | |
- ".github/workflows/linux.yml" | |
- ".github/workflows/macos.yml" | |
jobs: | |
build: | |
runs-on: windows-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: true | |
- name: Install Qt | |
uses: jurplel/install-qt-action@v4 | |
with: | |
cache: 'true' | |
version: '6.8.*' | |
- name: Configure | |
run: | | |
cmake -E make_directory build | |
qt-cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_INSTALL_PREFIX:STRING=${{ github.workspace }}\addTimes -S . -B build | |
- name: Compile | |
run: | | |
cmake --build build | |
- name: Install | |
run: | | |
cmake --build build --target install | |
- name: Package | |
run: | | |
powershell Compress-Archive addTimes addTimes-windows64.zip | |
- name: Upload to developerBuilds | |
run: | | |
gh release upload --clobber developerBuilds addTimes-windows64.zip | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |