Fix crash and menu no-op in map copy/paste #20
Workflow file for this run
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main, master ] | |
| pull_request: | |
| branches: [ main, master ] | |
| jobs: | |
| build-linux: | |
| runs-on: ubuntu-22.04 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: '6.8' | |
| host: 'linux' | |
| target: 'desktop' | |
| arch: 'linux_gcc_64' | |
| - name: Install dependencies | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y build-essential libgl1-mesa-dev libvulkan-dev \ | |
| libxkbcommon-dev libxkbcommon-x11-dev \ | |
| libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev \ | |
| libxcb-randr0-dev libxcb-render-util0-dev libxcb-xinerama0-dev \ | |
| libxcb-xinput-dev libxcb-xfixes0-dev libxcb-shape0-dev \ | |
| libxcb-cursor-dev libxcb-util-dev ninja-build xvfb | |
| - name: Configure CMake | |
| run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$QT_ROOT_DIR | |
| - name: Build | |
| run: cmake --build build | |
| - name: Test | |
| run: xvfb-run ctest --test-dir build --output-on-failure | |
| build-windows: | |
| runs-on: windows-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: '6.8' | |
| host: 'windows' | |
| target: 'desktop' | |
| arch: 'win64_msvc2022_64' | |
| - name: Configure CMake | |
| run: cmake -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$env:QT_ROOT_DIR | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure --build-config Release | |
| build-macos: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: jurplel/install-qt-action@v4 | |
| with: | |
| version: '6.8' | |
| host: 'mac' | |
| target: 'desktop' | |
| arch: 'clang_64' | |
| - name: Install Ninja | |
| run: brew install ninja | |
| - name: Configure CMake | |
| run: cmake -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_ARCHITECTURES="x86_64;arm64" -DCMAKE_PREFIX_PATH=$QT_ROOT_DIR | |
| - name: Build | |
| run: cmake --build build --config Release | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure |