14 compiler: [clang, gcc]
16 - uses: actions/checkout@v2
17 - uses: actions/setup-python@v1
20 - name: Install dependencies
22 python -m pip install --upgrade pip meson
24 sudo env DEBIAN_FRONTEND=noninteractive apt install -y \
25 doxygen libxcb-xkb-dev valgrind ninja-build \
26 libwayland-dev wayland-protocols bison graphviz
31 CC: ${{ matrix.compiler }}
34 meson compile -C build
37 meson test -C build --print-errorlogs --setup=valgrind --no-suite python-tests
42 - uses: actions/checkout@v2
43 - uses: actions/setup-python@v1
46 - name: Install dependencies
48 python -m pip install --upgrade pip meson
49 brew install libxml2 doxygen bison ninja
50 brew link bison --force
52 HOMEBREW_NO_AUTO_UPDATE: 1
53 HOMEBREW_NO_INSTALL_CLEANUP: 1
56 PATH="/usr/local/opt/bison/bin:${PATH}" meson setup -Denable-wayland=false -Denable-x11=false build
59 PATH="/usr/local/opt/bison/bin:${PATH}" meson compile -C build
62 meson test -C build --print-errorlogs
67 - uses: actions/checkout@v2
68 - uses: actions/setup-python@v1
71 - name: Install dependencies
74 python -m pip install --upgrade pip meson
75 Invoke-WebRequest -Uri https://github.com/ninja-build/ninja/releases/download/v1.10.1/ninja-win.zip -OutFile ninja.zip
76 Invoke-WebRequest -Uri https://github.com/lexxmark/winflexbison/releases/download/v2.5.23/win_flex_bison-2.5.23.zip -OutFile win_flex_bison.zip
77 Expand-Archive -Path win_flex_bison.zip -DestinationPath bin
78 Expand-Archive -Path ninja.zip -DestinationPath bin
79 Write-Output ((Get-Location).ToString() + "./bin") | Out-File -Append -FilePath $env:GITHUB_PATH -Encoding utf8
83 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
84 meson setup -Denable-wayland=false -Denable-x11=false -Denable-docs=false -Denable-xkbregistry=false build
90 call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
91 meson compile -C build
94 meson test -C build --print-errorlogs