Edit

kc3-lang/libxkbcommon/.github/workflows

Branch :

  • Browse

    Commit

  • Author : Peter Hutterer
    Date : 2020-07-23 09:37:15
    Hash : cd119a28
    Message : Drop use of ronn, switch to raw roff instead Drop the ronn source files, check in the generated files instead. This gets rid of the ruby+gem+ronn toolchain requirement at the cost of having to edit raw man pages. ronn files are as-generated but with the preamble and generation date removed. The latter isn't important enough to keep, it'll just go stale for manually maintained files and it's not worth setting up a configure_file() just for that date. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>

  • main.yml
  • name: CI
    
    on:
      push:
        branches: [ master ]
      pull_request:
        branches: [ master ]
    
    jobs:
      linux:
        runs-on: ubuntu-18.04
        strategy:
          matrix:
            compiler: [clang, gcc]
        steps:
          - uses: actions/checkout@v2
          - uses: actions/setup-python@v1
            with:
              python-version: '3.7'
          - name: Install dependencies
            run: |
              python -m pip install --upgrade pip meson
              sudo apt update -y
              sudo env DEBIAN_FRONTEND=noninteractive apt install -y \
                doxygen libxcb-xkb-dev valgrind ninja-build \
                libwayland-dev wayland-protocols bison graphviz
          - name: Setup
            run: |
              meson setup build
            env:
              CC: ${{ matrix.compiler }}
          - name: Build
            run: |
              meson compile -C build
          - name: Test
            run:
              meson test -C build --print-errorlogs --setup=valgrind --no-suite python-tests
    
      macos:
        runs-on: macos-10.15
        steps:
          - uses: actions/checkout@v2
          - uses: actions/setup-python@v1
            with:
              python-version: '3.7'
          - name: Install dependencies
            run: |
              python -m pip install --upgrade pip meson
              brew install doxygen bison ninja
              brew link bison --force
            env:
              HOMEBREW_NO_AUTO_UPDATE: 1
              HOMEBREW_NO_INSTALL_CLEANUP: 1
          - name: Setup
            run: |
              PATH="/usr/local/opt/bison/bin:${PATH}" meson setup -Denable-wayland=false -Denable-x11=false -Denable-xkbregistry=false build
          - name: Build
            run: |
              PATH="/usr/local/opt/bison/bin:${PATH}" meson compile -C build
          - name: Test
            run:
              meson test -C build --print-errorlogs
    
      windows:
        runs-on: windows-2019
        steps:
          - uses: actions/checkout@v2
          - uses: actions/setup-python@v1
            with:
              python-version: '3.7'
          - uses: actions/cache@v2
            with:
              path: C:\Users\runneradmin\AppData\Local\Temp\chocolatey
              key: ${{ runner.os }}-chocolatey-${{ matrix.os }}-${{ github.sha }}
              restore-keys: |
                ${{ runner.os }}-chocolatey-${{ matrix.os }}-
                ${{ runner.os }}-chocolatey-
          - name: Install dependencies
            run: |
              python -m pip install --upgrade pip meson
              choco install ninja winflexbison3 -y --no-progress --stop-on-first-failure
          - name: Setup
            shell: cmd
            run: |
              call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
              meson setup -Denable-wayland=false -Denable-x11=false -Denable-docs=false -Denable-xkbregistry=false build
            env:
              CC: cl
          - name: Build
            shell: cmd
            run: |
              call "C:\Program Files (x86)\Microsoft Visual Studio\2019\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64
              meson compile -C build
          - name: Test
            run:
              meson test -C build --print-errorlogs