File: ci.yml

package info (click to toggle)
raqm 0.10.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,064 kB
  • sloc: ansic: 2,151; python: 61; xml: 57; sh: 26; makefile: 6
file content (73 lines) | stat: -rw-r--r-- 1,775 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
name: Build

on:
  push:
    branches: [ main ]
    tags: [ "*" ]
  pull_request:
    branches: [ main ]

jobs:
  build:

    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]
    env:
      MATRIX_OS: ${{ matrix.os }}

    steps:
    - uses: actions/checkout@v6
    - uses: actions/setup-python@v6
      with:
        python-version: '3.10'
    - name: Install Python Dependencies
      run: pip install --upgrade meson ninja
    - if: matrix.os == 'ubuntu-latest'
      name: Install dependencies on Ubuntu
      run: |
        sudo apt-get update || true
        sudo apt-get install -y gtk-doc-tools
    - name: MSVC Setup
      if: matrix.os == 'windows-latest'
      uses: ilammy/msvc-dev-cmd@v1
      with:
        arch: x64
    - name: Meson Setup
      run: meson setup build $(test $MATRIX_OS = "ubuntu-latest" && echo "-Ddocs=true")
    - name: Build
      run: ninja -C build
    - name: Test
      run: ninja -C build test
    - name: Deploy documentation
      if: matrix.os == 'ubuntu-latest'
      run: .ci/deploy-docs.sh

  build-sheenbidi:

    runs-on: ${{ matrix.os }}
    strategy:
      fail-fast: false
      matrix:
        os: [ubuntu-latest, macos-latest, windows-latest]

    steps:
    - uses: actions/checkout@v6
    - uses: actions/setup-python@v6
      with:
        python-version: '3.10'
    - name: Install Python Dependencies
      run: pip install --upgrade meson ninja
    - name: MSVC Setup
      if: matrix.os == 'windows-latest'
      uses: ilammy/msvc-dev-cmd@v1
      with:
        arch: x64
    - name: Meson Setup
      run: meson -Dsheenbidi=true build
    - name: Build
      run: ninja -C build
    - name: Test
      run: ninja -C build test