Skip to content

[#135]: Default the size of Window to size of PrimaryMonitor #523

[#135]: Default the size of Window to size of PrimaryMonitor

[#135]: Default the size of Window to size of PrimaryMonitor #523

Workflow file for this run

name: Ubuntu
on:
push:
branches:
- master
pull_request:
env:
BUILD_TYPE: Release
CXX: clang++-14
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Setup Environment
run: |
sudo apt-get update
sudo apt-get install -y xorg-dev llvm-dev iwyu clang++-14 libx11-xcb-dev libxcb-render-util0-dev \
libxcb-xkb-dev libxcb-icccm4-dev libxcb-image0-dev libxcb-keysyms1-dev libxcb-randr0-dev \
libxcb-shape0-dev libxcb-sync-dev libxcb-xfixes0-dev libxcb-xinerama0-dev libxcb-dri3-dev \
libxcb-util-dev libxcb-cursor-dev
pip install conan==1.59.0
wget https://sdk.lunarg.com/sdk/download/1.3.216.0/linux/vulkansdk-linux-x86_64-1.3.216.0.tar.gz
tar xf vulkansdk-linux-x86_64-1.3.216.0.tar.gz
cmake -E make_directory ${{runner.workspace}}/build
- name: Cache Conan packages
id: cache-conan
uses: actions/cache@v3
with:
path: ~/.conan/data
key: conan-cache-${{ hashFiles('**/conanfile.txt') }}
- name: Install dependencies with Conan
working-directory: ${{runner.workspace}}/build
run: |
# Use newer ABI
conan profile new default --detect
conan profile update settings.compiler.libcxx=libstdc++11 default
conan install $GITHUB_WORKSPACE --output-folder=build --build=missing --settings=build_type=$BUILD_TYPE
- name: Run CMake
shell: bash
working-directory: ${{runner.workspace}}/build
run: |
source ${{runner.workspace}}/Looper/1.3.216.0/setup-env.sh
cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DWARNINGS_AS_ERRORS=ON -DENABLE_INCLUDE_WHAT_YOU_USE=OFF\
-DENABLE_SANITIZER_ADDRESS=ON -DENABLE_SANITIZER_UNDEFINED_BEHAVIOR=OFF -DENABLE_SANITIZER_LEAK=ON -DUNITY_BUILD=ON
- name: Build
working-directory: ${{runner.workspace}}/build
shell: bash
run: |
cmake --build . --config $BUILD_TYPE 2> >(tee "output.txt")
- name: Post PR comment for warnings/errors
if: ${{ always() }} && github.ref != 'refs/heads/master'
uses: JacobDomagala/CompileResultAction@master
with:
comment_title: UBUNTU COMPILE RESULT
compile_result_file: ${{runner.workspace}}/build/output.txt
exclude_dir: ${{github.workspace}}/dependencies