Skip to content

Commit 067376c

Browse files
committed
tests: started work on GitHub workflow
FossilOrigin-Name: c038bdea612b3d98b605579b7733283d2c22dd63cbcfcb38bf4be9ef88f22566
1 parent 67980c6 commit 067376c

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/nim.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: Continuous Integration
2+
3+
on:
4+
push:
5+
branches: [ trunk ]
6+
7+
jobs:
8+
9+
tests:
10+
timeout-minutes: 30
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- name: Checkout
15+
uses: actions/checkout@v4
16+
17+
- name: Setup Nim
18+
uses: jiro4989/setup-nim-action@v2
19+
with:
20+
nim-version: 'stable'
21+
repo-token: ${{ secrets.GITHUB_TOKEN }}
22+
23+
- name: Update Nimble
24+
run: nimble install -y nimble
25+
26+
- name: Debug demo build
27+
run: |
28+
sudo apt-get install -y libsdl2-dev
29+
cd demo
30+
./build.nims sdl2
31+

0 commit comments

Comments
 (0)