Fix some bugs in the editor. #129
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: All | |
| on: [push, pull_request, pull_request_review] | |
| jobs: | |
| doxygen: | |
| name: Check docs | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Run tiny_ref_checker | |
| run: | | |
| git clone https://github.com/Flone-dnb/tiny_ref_checker.git | |
| cd tiny_ref_checker | |
| mkdir build | |
| cd build | |
| cmake -DCMAKE_BUILD_TYPE=Release .. | |
| cmake --build . --target tiny_ref_checker --config=Release | |
| ./tiny_ref_checker ../../src | |
| build-windows: | |
| name: Build on Windows | |
| runs-on: windows-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Pull submodules | |
| run: git submodule update --init --recursive | |
| - name: Create build directory | |
| run: mkdir build | |
| - name: Build (Release) | |
| run: | | |
| cmake -G "Visual Studio 17 2022" -DCMAKE_BUILD_TYPE=Release .. | |
| cmake --build . --config Release | |
| working-directory: build | |
| build-linux-clang: | |
| name: Build on Linux using Clang | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Pull submodules | |
| run: git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: | | |
| sudo apt update && sudo apt install -y ninja-build libflac-dev libvorbis-dev pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libfribidi-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev liburing-dev | |
| - name: Create build directory | |
| run: mkdir build | |
| - name: Build (Release) | |
| run: | | |
| cmake -G Ninja -DCMAKE_C_COMPILER=clang -DCMAKE_BUILD_TYPE=Release .. | |
| cmake --build . --config Release | |
| working-directory: build | |
| build-linux-gcc: | |
| name: Build on Linux using GCC | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Pull submodules | |
| run: git submodule update --init --recursive | |
| - name: Install dependencies | |
| run: | | |
| sudo apt update && sudo apt install -y ninja-build libflac-dev libvorbis-dev pkg-config cmake ninja-build gnome-desktop-testing libasound2-dev libpulse-dev libaudio-dev libfribidi-dev libjack-dev libsndio-dev libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev libxkbcommon-dev libdrm-dev libgbm-dev libgl1-mesa-dev libgles2-mesa-dev libegl1-mesa-dev libdbus-1-dev libibus-1.0-dev libudev-dev libpipewire-0.3-dev libwayland-dev libdecor-0-dev liburing-dev | |
| - name: Create build directory | |
| run: mkdir build | |
| - name: Build (Release) | |
| run: | | |
| cmake -G Ninja -DCMAKE_C_COMPILER=gcc -DCMAKE_BUILD_TYPE=Release .. | |
| cmake --build . --config Release | |
| working-directory: build | |