Skip to content

Commit

Permalink
windows
Browse files Browse the repository at this point in the history
  • Loading branch information
kebekus committed Nov 16, 2023
1 parent 9a7954b commit ae09258
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Compile on Linux

on:
push:
branches: [ feature/actions ]
branches: [ develop ]

jobs:
build:
Expand Down
15 changes: 10 additions & 5 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,29 +2,34 @@ name: Compile on Windows

on:
push:
branches: [ feature/xxxactions ]
branches: [ feature/actions ]

jobs:
build:

runs-on: windows-latest

steps:
- uses: actions/checkout@v3
- 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=$PWD/addTimes -S . -B build
- name: Compile and Install
qt-cmake -DCMAKE_BUILD_TYPE:STRING=Debug -DCMAKE_INSTALL_PREFIX:STRING=addTimes -S . -B build
- name: Compile
run: |
cmake --build build
cmake --build build --target install
cmake --build build --target INSTALL
- name: Install
run: |
cmake --build build --target INSTALL
- name: Package
run: |
powershell Compress-Archive addTimes addTimes-windows.zip
Expand Down

0 comments on commit ae09258

Please sign in to comment.