File: make.yml

package info (click to toggle)
utf8proc 2.11.3-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 2,836 kB
  • sloc: ansic: 19,168; lisp: 449; makefile: 242; sh: 7
file content (41 lines) | stat: -rw-r--r-- 1,025 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
name: Make

on:
  push:
    branches:
      - master
      - 'release-*'
  pull_request:
  # run on all pr

jobs:
  build:
    strategy:
      matrix:
        os: [ubuntu-latest, macOS-latest]
    runs-on: ${{ matrix.os }}
    name: ${{ matrix.os }}
    steps:
    - uses: actions/checkout@v6
    # TODO: update makefile to check MANIFEST
    - name: Install dependencies (MacOS)
      if: runner.os == 'macOS'
      run: brew install julia

    - name: Check MANIFEST
      if: matrix.config.os == 'ubuntu-latest'
      run: make manifest && diff MANIFEST.new MANIFEST
    - name: Run Test
      run: make check
    - name: Check utf8proc_data.c
      run: make data && diff data/utf8proc_data.c.new utf8proc_data.c
    - name: Clean
      run: make clean && git status --ignored --porcelain && test -z "$(git status --ignored --porcelain)"

    - name: Make lib
      run: make
    - name: Upload shared lib
      uses: actions/upload-artifact@v6
      with:
        name: make-${{ matrix.os }}
        path: libutf8proc.*