Skip to content

Commit

Permalink
Attempt to reuse install-qt6
Browse files Browse the repository at this point in the history
  • Loading branch information
herzenschein authored Nov 10, 2023
1 parent 5b16ebd commit d58a17a
Showing 1 changed file with 3 additions and 28 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CMake on a single platform
name: Build a project with Qt6

on:
push:
Expand All @@ -14,44 +14,19 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.6'
host: 'linux'
target: 'desktop'
dir: '${{ github.workspace }}/example/'
install-deps: 'true'
cache: 'true'
archives: 'qtbase qtdeclarative'

- uses: herzenschein/minimal-qml6-examples/.github/workflows/install-qt6.yml@main

- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -S qml5-contextproperty/

- name: Build
run: cmake --build ${{github.workspace}}/build --config ${{env.BUILD_TYPE}}

# - name: Test
# working-directory: ${{github.workspace}}/build
# run: ctest -C ${{env.BUILD_TYPE}}

qml6-qmlelement:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install Qt
uses: jurplel/install-qt-action@v3
with:
version: '6.4'
host: 'linux'
target: 'desktop'
dir: '${{ github.workspace }}/example/'
install-deps: 'true'
cache: 'true'
archives: 'qtbase qtdeclarative'
- uses: herzenschein/minimal-qml6-examples/.github/workflows/install-qt6.yml@main

- name: Configure
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -S qml6-qmlelement/
Expand Down

0 comments on commit d58a17a

Please sign in to comment.