44 lines
1.3 KiB
YAML
44 lines
1.3 KiB
YAML
name: Build Example
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
#image: stateoftheartio/qt6:6.6-mingw-aqt
|
|
name: Build
|
|
steps:
|
|
|
|
- name: Apt update
|
|
run: sudo apt update
|
|
|
|
- name: Install qmake6 Using
|
|
run: sudo apt -y install qmake6 qt6-base-dev
|
|
|
|
- name: Generate qt6.conf based on the path to qmake6
|
|
run: qtchooser -install qt6 $(which qmake6)
|
|
|
|
# - name: Move qt6.conf to system-wide dir
|
|
# run: sudo mv ~/.config/qtchooser/qt6.conf /usr/share/qtchooser/qt6.conf
|
|
|
|
# - name: Set Qt6 as default option 1
|
|
# run: sudo mkdir -p /usr/lib/$(uname -p)-linux-gnu/qt-default/qtchooser
|
|
|
|
# - name: Set Qt6 as default option 2
|
|
# run: sudo ln -n /usr/share/qtchooser/qt6.conf /usr/lib/$(uname -p)-linux-gnu/qt-default/qtchooser/default.conf
|
|
|
|
# - name: Generate qt6.conf based on path to qmake6
|
|
# run: qtchooser -install qt6 $(which qmake6)
|
|
|
|
# - name: Select Qt6 as default (place in ~/.bashrc for persistence)
|
|
# run: export QT_SELECT=qt6
|
|
|
|
- name: Start qmake
|
|
run: qmake6 /root/.cache/act/mstanaev/test_sdk/core/core.pro
|
|
|
|
|
|
#- name: Docker container run
|
|
# run:
|
|
# runs: |