添付画像をドラッグアンドドロップでの受付に対応 #304
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.2.*' | |
host: 'linux' | |
target: 'desktop' | |
arch: 'gcc_64' | |
modules: 'qtwebglplugin' | |
# modules: 'qt5compat qtwebsockets qthttpserver' | |
- 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/[email protected] | |
with: | |
extra_args: --all-files | |
- name: Build httpserver | |
run: | | |
mkdir 3rdparty/build-qthttpserver | |
cd 3rdparty/build-qthttpserver | |
qmake CONFIG+=debug_and_release ../qthttpserver/qthttpserver.pro | |
make -j4 && make install | |
- 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 |