generated from openpeeps/pistachio
-
Notifications
You must be signed in to change notification settings - Fork 1
35 lines (35 loc) · 916 Bytes
/
test.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
name: test
on:
push:
paths-ignore:
- LICENSE
- README.*
- examples
- .github/workflows
pull_request:
paths-ignore:
- LICENSE
- README.*
- examples
- .github/workflows
jobs:
test:
runs-on: ubuntu-latest
strategy:
matrix:
nim-version:
- 'stable'
steps:
- uses: actions/checkout@v3
- uses: jiro4989/setup-nim-action@v1
with:
nim-version: ${{ matrix.nim-version }}
repo-token: ${{ secrets.GITHUB_TOKEN }}
- run: |
wget https://blend2d.com/download/blend2d-0.11.4.tar.gz
tar zxvf blend2d-0.11.4.tar.gz
cmake blend2d -B blend2d/build -DCMAKE_BUILD_TYPE=Release -DBLEND2D_EMBED=TRUE
cmake --build blend2d/build
# - run: nimble install -Y
# - run: nim c -r src/${{ github.event.repository.name }}.nim
# - run: nimble test