update #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |