Skip to content

[23_14] Implement cursor style change when moving graphics object #109

[23_14] Implement cursor style change when moving graphics object

[23_14] Implement cursor style change when moving graphics object #109

name: Build and Test on Ubuntu
on:
push:
branches: [ branch-1.1 ]
paths:
- 'src/**'
- '!src/Plugins/Macos/**'
- '!src/Plugins/Windows/**'
- 'tests/**'
- 'xmake.lua'
- '.github/workflows/ci-xmake-linux.yml'
pull_request:
branches: [ branch-1.1 ]
paths:
- 'src/**'
- '!src/Plugins/Macos/**'
- '!src/Plugins/Windows/**'
- 'tests/**'
- 'xmake.lua'
- '.github/workflows/ci-xmake-linux.yml'
jobs:
linuxbuild:
runs-on: ubuntu-22.04
if: always()
continue-on-error: true
strategy:
fail-fast: true
matrix:
include:
- qt_pkg: qtbase5-dev libqt5svg5-dev qt5-image-formats-plugins
qt_ver: 5
- qt_pkg: qt6-base-dev libqt6svg6-dev qt6-image-formats-plugins
qt_ver: 6
steps:
- name: Install dependencies
run: |
sudo DEBIAN_FRONTEND=noninteractive apt-get update
sudo DEBIAN_FRONTEND=noninteractive apt-get install -y gcc \
fonts-noto-cjk libpng-dev zlib1g-dev libjpeg-turbo8-dev \
libcurl4-openssl-dev libfreetype-dev libsqlite3-dev \
${{matrix.qt_pkg}}
- uses: actions/checkout@v3
with:
fetch-depth: 1
- name: cache xmake
uses: actions/cache@v2
with:
path: |
${{github.workspace}}/build/.build_cache
/home/runner/.config/.xmake
key: ${{ runner.os }}-qt${{ matrix.qt_ver }}-xmake-${{ hashFiles('**/xmake.lua') }}
- uses: xmake-io/github-action-setup-xmake@v1
with:
xmake-version: v2.7.8
actions-cache-folder: '.xmake-cache'
- name: Build by gcc
id: build
run: |
xmake config --yes
xmake build --yes --verbose --diagnosis --jobs=8 --all
- name: Test
run: |
xmake run --yes --verbose --diagnosis --group=tests
env:
QT_QPA_PLATFORM: offscreen