Skip to content

Commit 7ff6309

Browse files
committed
GH actions
1 parent 0a068e8 commit 7ff6309

File tree

3 files changed

+29
-8
lines changed

3 files changed

+29
-8
lines changed

.github/workflows/test.yml

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
name: CI
2+
3+
on: push
4+
jobs:
5+
Test:
6+
if: |
7+
!contains(github.event.head_commit.message, '[skip ci]')
8+
strategy:
9+
fail-fast: false
10+
matrix:
11+
os: [ubuntu-latest]
12+
nim-channel: [stable, devel]
13+
14+
name: ${{ matrix.os }}-${{ matrix.nim-channel }}
15+
runs-on: ${{ matrix.os }}
16+
steps:
17+
- uses: actions/checkout@v2
18+
19+
- name: Setup nim
20+
uses: jiro4989/setup-nim-action@v1
21+
with:
22+
nim-version: ${{ matrix.nim-channel }}
23+
24+
- name: Test
25+
shell: bash
26+
run: |
27+
nim --version
28+
nimble test

.travis.yml

-7
This file was deleted.

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# nimsl [![Build Status](https://travis-ci.org/yglukhov/nimsl.svg?branch=master)](https://travis-ci.org/yglukhov/nimsl) [![nimble](https://raw.githubusercontent.com/yglukhov/nimble-tag/master/nimble_js.png)](https://github.com/yglukhov/nimble-tag)
1+
# nimsl [![Build Status](https://github.com/yglukhov/nimsl/workflows/CI/badge.svg?branch=master)](https://github.com/yglukhov/nimsl/actions?query=branch%3Amaster) [![nimble](https://raw.githubusercontent.com/yglukhov/nimble-tag/master/nimble_js.png)](https://github.com/yglukhov/nimble-tag)
22
Shaders in Nim language.
33

44
Ever wanted to use metaprogramming and unittests for your shader functions? Now you have it! Of course you also have other nice Nim features, such as type inference, template, generics, etc. Since shader code is valid Nim code, you can compile it to native/js target and debug it with your regular debugging tools.

0 commit comments

Comments
 (0)