Skip to content

Qt6対応

Qt6対応 #337

Workflow file for this run

name: Unit test
on:
pull_request:
branches:
- dev
concurrency:
group: unit_test
cancel-in-progress: true
jobs:
unit_test:
runs-on: ubuntu-latest
steps:
- name: Install dependencies (linux)
run: sudo apt install ninja-build
- name: Install Qt
uses: jurplel/install-qt-action@v4
with:
# version: '5.15.2'
version: '6.8.1'
host: 'linux'
target: 'desktop'
arch: 'linux_gcc_64'
# modules: 'qtwebglplugin'
modules: 'qt5compat qtwebsockets qthttpserver qtshadertools qtimageformats qtscxml'
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Setup
run: |
qmake --version
cp lib/tools/encryption_seed_template.h lib/tools/encryption_seed.h
python -m pip install --upgrade pip jinja2
- name: Check style
uses: pre-commit/action@v3.0.1
with:
extra_args: --all-files
- name: Build
run: scripts/build.sh linux ${QT_ROOT_DIR}/bin
- name: Unit test
env:
TZ: "Asia/Tokyo"
run: scripts/unittest.sh linux ${QT_ROOT_DIR}/bin