make.yml (1054B)
1name: Make 2 3on: 4 push: 5 branches: 6 - master 7 - 'release-*' 8 pull_request: 9 # run on all pr 10 11jobs: 12 build: 13 strategy: 14 matrix: 15 os: [ubuntu-latest, macOS-latest] 16 runs-on: ${{ matrix.os }} 17 name: ${{ matrix.os }} 18 steps: 19 - uses: actions/checkout@v2 20 # TODO: update makefile to check MANIFEST 21 # - name: Install dependencies (MacOS) 22 # if: matrix.config.os == 'macos-latest' 23 # run: brew install ruby findutils 24 25 - name: Check MANIFEST 26 if: matrix.config.os == 'ubuntu-latest' 27 run: make manifest && diff MANIFEST.new MANIFEST 28 - name: Run Test 29 run: make check 30 - name: Check utf8proc_data.c 31 run: make data && diff data/utf8proc_data.c.new utf8proc_data.c 32 - name: Clean 33 run: make clean && git status --ignored --porcelain && test -z "$(git status --ignored --porcelain)" 34 35 - name: Make lib 36 run: make 37 - name: Upload shared lib 38 uses: actions/upload-artifact@v2 39 with: 40 name: make-${{ matrix.os }} 41 path: libutf8proc.*