improve github actions
This commit is contained in:
parent
ebae5e79f2
commit
4096ed585a
5 changed files with 16 additions and 22 deletions
31
.github/workflows/build.yml
vendored
31
.github/workflows/build.yml
vendored
|
@ -1,26 +1,17 @@
|
||||||
name: Run tests
|
name: Github Actions
|
||||||
on: [push, pull_request]
|
on: [push, pull_request]
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
runs-on: ubuntu-latest
|
strategy:
|
||||||
|
fail-fast: false
|
||||||
|
matrix:
|
||||||
|
os: [ubuntu-latest, windows-latest]
|
||||||
|
|
||||||
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Cache choosenim
|
|
||||||
id: cache-choosenim
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
|
||||||
path: ~/.choosenim
|
|
||||||
key: ${{ runner.os }}-choosenim-stable
|
|
||||||
|
|
||||||
- name: Cache nimble
|
|
||||||
id: cache-nimble
|
|
||||||
uses: actions/cache@v1
|
|
||||||
with:
|
|
||||||
path: ~/.nimble
|
|
||||||
key: ${{ runner.os }}-nimble-stable
|
|
||||||
|
|
||||||
- uses: jiro4989/setup-nim-action@v1
|
- uses: jiro4989/setup-nim-action@v1
|
||||||
|
- run: nimble test -d:release -y
|
||||||
- run: nimble test -y
|
- run: nimble test --gc:orc -d:release -y
|
||||||
|
- run: nim cpp -d:release -r tests/all.nim
|
||||||
|
|
|
@ -8,6 +8,8 @@ This library is being actively developed and we'd be happy for you to use it.
|
||||||
|
|
||||||
`nimble install pixie`
|
`nimble install pixie`
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
* Typesetting and rasterizing text, including styled rich text via spans.
|
* Typesetting and rasterizing text, including styled rich text via spans.
|
||||||
* Drawing paths, shapes and curves with even-odd and non-zero windings.
|
* Drawing paths, shapes and curves with even-odd and non-zero windings.
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
import flatty/binny, math, pixie/common, pixie/paths, sets, tables,
|
import flatty/binny, math, pixie/common, pixie/paths, sets, tables, unicode, vmath
|
||||||
unicode, vmath
|
|
||||||
|
|
||||||
## See https://docs.microsoft.com/en-us/typography/opentype/spec/
|
## See https://docs.microsoft.com/en-us/typography/opentype/spec/
|
||||||
|
|
||||||
|
|
2
tests/all.nim
Normal file
2
tests/all.nim
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
import test_bmp, test_context, test_fonts, test_gif, test_images,
|
||||||
|
test_images_draw, test_jpg, test_masks, test_paints, test_paths, test_png, test_svg
|
Binary file not shown.
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.9 KiB |
Loading…
Reference in a new issue