Edit

kc3-lang/libxkbcommon/.github/workflows/macos.yml

Branch :

  • Show log

    Commit

  • Author : dependabot[bot]
    Date : 2025-09-02 05:53:23
    Hash : c2b2b702
    Message : build(deps): bump actions/checkout from 4 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v4...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>

  • .github/workflows/macos.yml
  • name: macos
    
    on:
      push:
        branches: [ master ]
      pull_request:
        branches: [ master ]
    
    # Set permissions at the job level.
    permissions: {}
    
    jobs:
      macos:
        runs-on: macos-13
        permissions:
          contents: read
        steps:
          - uses: actions/checkout@v5
            with:
              persist-credentials: false
          - uses: actions/setup-python@v5
            with:
              python-version: '3.12'
          - name: Install dependencies
            run: |
              brew install bison libxml2 meson ninja xkeyboardconfig xorg-server
              brew link bison --force
              brew link libxml2 --force
              # https://docs.brew.sh/Homebrew-and-Python#pep-668-python312-and-virtual-environments
              python3 -m venv venv
              source venv/bin/activate
              # Jinja2 is needed for merge-modes tests
              pip3 install PyYaml Jinja2
            env:
              HOMEBREW_NO_AUTO_UPDATE: 1
              HOMEBREW_NO_INSTALL_CLEANUP: 1
          - name: Setup
            run: |
              source venv/bin/activate
              PATH="/usr/local/opt/bison/bin:${PATH}" \
                meson setup \
                  -Denable-wayland=false \
                  -Denable-x11=true \
                  -Dxkb-config-root="$(brew --prefix xkeyboardconfig)/share/X11/xkb" \
                  -Dx-locale-root="$(brew --prefix xorg-server)/share/X11/locale" \
                  build
          - name: Build
            run: |
              source venv/bin/activate
              PATH="/usr/local/opt/bison/bin:${PATH}" meson compile -C build
          - name: Test
            run: |
              source venv/bin/activate
              meson test -C build --print-errorlogs