drag-and-drop #14
|
@ -16,10 +16,13 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
||||||
|
flags: -j $(nproc)
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/6.5.0/mingw81_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/6.5.0/mingw81_64/ $CONFIG
|
||||||
|
flags: ''
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
||||||
|
flags: -j $(nproc)
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -48,23 +51,19 @@ jobs:
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake -B build/ ${{ matrix.cmake }}
|
run: cmake -B build/ ${{ matrix.cmake }}
|
||||||
|
|
||||||
- name: Build Qtk Application (Windows)
|
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
shell: bash
|
|
||||||
run: cmake --build build/ --config Release --target qtk_gui
|
|
||||||
|
|
||||||
# OSX / Linux
|
|
||||||
|
|
||||||
- name: Build Qtk Application
|
- name: Build Qtk Application
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build/ --config Release --target qtk_gui -- -j $(nproc)
|
run: cmake --build build/ --config Release --target qtk_gui ${{ matrix.flags }}
|
||||||
|
|
||||||
|
- name: Build Qtk Example
|
||||||
|
shell: bash
|
||||||
|
run: cmake --build build/ --config Release --target qtk_example ${{ matrix.flags }}
|
||||||
|
|
||||||
# Packaging
|
# Packaging
|
||||||
|
|
||||||
- name: Install Qtk Application
|
- name: Install Qtk Application
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component qtk_gui
|
run: cmake --install build/ --config Release --component qtk_gui
|
||||||
|
|
||||||
- name: Package Qtk Application
|
- name: Package Qtk Application
|
||||||
shell: bash
|
shell: bash
|
||||||
|
@ -146,10 +145,13 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
||||||
|
flags: -j $(nproc)
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/6.5.0/mingw81_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/6.5.0/mingw81_64/ $CONFIG
|
||||||
|
flags: ''
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
||||||
|
flags: -j $(nproc)
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -168,27 +170,13 @@ jobs:
|
||||||
with:
|
with:
|
||||||
args: install pkgconfiglite --checksum e87b5ea3c9142256af60f2d5b917aa63b571e6a0 --checksum-type sha1
|
args: install pkgconfiglite --checksum e87b5ea3c9142256af60f2d5b917aa63b571e6a0 --checksum-type sha1
|
||||||
|
|
||||||
- name: Configure Qtk Library (Windows)
|
- name: Configure Qtk Library
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake -B build/ ${{ matrix.cmake }}
|
run: cmake -B build/ ${{ matrix.cmake }}
|
||||||
|
|
||||||
- name: Build Qtk Library (Windows)
|
- name: Build Qtk Library
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build/ --config Release --target qtk_library
|
run: cmake --build build/ --config Release --target qtk_library -- ${{ matrix.flags }}
|
||||||
|
|
||||||
# OSX / Linux
|
|
||||||
|
|
||||||
- name: Configure Qtk Library (OSX / Linux)
|
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
shell: bash
|
|
||||||
run: cmake -B build/ ${{ matrix.cmake }}
|
|
||||||
|
|
||||||
- name: Build Qtk Library (OSX / Linux)
|
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
shell: bash
|
|
||||||
run: cmake --build build/ --config Release --target qtk_library -- -j $(nproc)
|
|
||||||
|
|
||||||
# Packaging
|
# Packaging
|
||||||
|
|
||||||
|
@ -262,10 +250,13 @@ jobs:
|
||||||
include:
|
include:
|
||||||
- os: ubuntu-latest
|
- os: ubuntu-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
||||||
|
flags: -j $(nproc)
|
||||||
- os: windows-latest
|
- os: windows-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/6.5.0/mingw81_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=D:/a/qtk/qtk/Qt/6.5.0/mingw81_64/ $CONFIG
|
||||||
|
flags: ''
|
||||||
- os: macos-latest
|
- os: macos-latest
|
||||||
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
cmake: -DCMAKE_PREFIX_PATH=/home/runner/work/qtk/Qt/6.5.0/gcc_64/ $CONFIG
|
||||||
|
flags: -j $(nproc)
|
||||||
|
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
steps:
|
steps:
|
||||||
|
@ -276,41 +267,25 @@ jobs:
|
||||||
with:
|
with:
|
||||||
version: '6.5.0'
|
version: '6.5.0'
|
||||||
|
|
||||||
# Windows
|
|
||||||
|
|
||||||
- name: Chocolatey Action
|
- name: Chocolatey Action
|
||||||
if: matrix.os == 'windows-latest'
|
if: matrix.os == 'windows-latest'
|
||||||
uses: crazy-max/ghaction-chocolatey@v2
|
uses: crazy-max/ghaction-chocolatey@v2
|
||||||
with:
|
with:
|
||||||
args: install pkgconfiglite --checksum e87b5ea3c9142256af60f2d5b917aa63b571e6a0 --checksum-type sha1
|
args: install pkgconfiglite --checksum e87b5ea3c9142256af60f2d5b917aa63b571e6a0 --checksum-type sha1
|
||||||
|
|
||||||
- name: Configure Qtk Plugins (Windows)
|
- name: Configure Qtk Plugins
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake -B build/ ${{ matrix.cmake }}
|
run: cmake -B build/ ${{ matrix.cmake }}
|
||||||
|
|
||||||
- name: Build Qtk Plugins (Windows)
|
- name: Build Qtk Plugins
|
||||||
if: matrix.os == 'windows-latest'
|
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --build build/ --config Release --target qtk_plugins
|
run: cmake --build build/ --config Release --target qtk_plugins -- ${{ matrix.flags }}
|
||||||
|
|
||||||
# OSX / Linux
|
|
||||||
|
|
||||||
- name: Configure Qtk Plugins (OSX / Linux)
|
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
shell: bash
|
|
||||||
run: cmake -B build/ ${{ matrix.cmake }}
|
|
||||||
|
|
||||||
- name: Build Qtk Plugins (OSX / Linux)
|
|
||||||
if: matrix.os != 'windows-latest'
|
|
||||||
shell: bash
|
|
||||||
run: cmake --build build/ --config Release --target qtk_plugins -- -j $(nproc)
|
|
||||||
|
|
||||||
# Packaging
|
# Packaging
|
||||||
|
|
||||||
- name: Install Qtk Plugins
|
- name: Install Qtk Plugins
|
||||||
shell: bash
|
shell: bash
|
||||||
run: cmake --install build/ --config Release --prefix=$(pwd)/install --component qtk_plugins
|
run: cmake --install build/ --config Release --component qtk_plugins
|
||||||
|
|
||||||
Qtk-Assimp-Targets:
|
Qtk-Assimp-Targets:
|
||||||
strategy:
|
strategy:
|
||||||
|
|
Loading…
Reference in New Issue