-
Notifications
You must be signed in to change notification settings - Fork 0
38 lines (34 loc) · 953 Bytes
/
build.yml
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
name: build
on:
push:
branches:
- main
pull_request:
branches:
- main
workflow_dispatch:
concurrency:
group: ${{ format('build-founder-{0}', github.head_ref || 'main') }}
cancel-in-progress: true
jobs:
check:
runs-on: macos-latest
steps:
- uses: actions/checkout@v4
- run: rustup toolchain install stable --profile=minimal --component clippy --component rustfmt
- run: cargo clippy -- -D warnings
- run: cargo fmt --all -- --check
test:
strategy:
matrix:
os: [macos-latest, ubuntu-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
with: {submodules: recursive}
- run: rustup toolchain install stable --profile=minimal
- run: make test-name-internal
- run: make test-rasterize-internal
- run: make test-vectorize-internal
- run: make test-name-external
- run: make test-vectorize-external