Skip to content

Merge branch 'feature/actions' of github.com:Akaflieg-Freiburg/addhou… #9

Merge branch 'feature/actions' of github.com:Akaflieg-Freiburg/addhou…

Merge branch 'feature/actions' of github.com:Akaflieg-Freiburg/addhou… #9

Workflow file for this run

name: Compile on Windows
on:
push:
branches: [ feature/actions ]
jobs:
build:
runs-on: windows-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: true
- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
cache: 'true'
version: '6.*.*'
- 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-windows.zip
- name: Upload to developerBuilds
run: |
gh release upload --clobber developerBuilds addTimes-windows.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}