File tree 2 files changed +49
-4
lines changed
2 files changed +49
-4
lines changed Original file line number Diff line number Diff line change
1
+ # This is a basic workflow to help you get started with Actions
2
+
3
+ name : CI
4
+
5
+ # Controls when the workflow will run
6
+ on :
7
+ # Triggers the workflow on push or pull request events but only for the master branch
8
+ push :
9
+ branches : [ master ]
10
+ pull_request :
11
+ branches : [ master ]
12
+
13
+ # Allows you to run this workflow manually from the Actions tab
14
+ workflow_dispatch :
15
+
16
+ jobs :
17
+ test :
18
+ strategy :
19
+ matrix :
20
+ os : ['windows-latest', 'macos-latest', 'ubuntu-latest']
21
+ nim : ['devel', 'version-1-6', 'version-1-4', 'version-1-2']
22
+
23
+ name : Nim ${{ matrix.nim }} on ${{ matrix.os }}
24
+ runs-on : ${{ matrix.os }}
25
+ steps :
26
+ - uses : actions/checkout@v2
27
+ - uses : alaviss/setup-nim@0.1.1
28
+ with :
29
+ path : ' nim'
30
+ version : ${{ matrix.nim }}
31
+ - run : nimble buildExamples
Original file line number Diff line number Diff line change 1
- [ Package ]
2
- name = " nimqml "
1
+ # Package
2
+
3
3
version = " 0.9.0"
4
4
author = " Filippo Cucchetto"
5
5
description = " QML bindings for Nim"
6
6
license = " LGPLv3"
7
7
srcDir = " src"
8
8
9
- [Deps ]
10
- Requires : " nim >= 1.2.0"
9
+ # Deps
10
+
11
+ requires " nim >= 1.2.0"
12
+
13
+
14
+ task buildExamples, " Build examples" :
15
+ exec " nim c examples/helloworld/main"
16
+ exec " nim c examples/abstractitemmodel/main"
17
+ exec " nim c examples/charts/main"
18
+ exec " nim c examples/connections/main"
19
+ exec " nim c examples/contactapp/main"
20
+ exec " nim c examples/helloworld/main"
21
+ exec " nim c examples/qmlregistertype/main"
22
+ exec " nim c examples/resourcebundling/main"
23
+ exec " nim c examples/simpledata/main"
24
+ exec " nim c examples/slotsandproperties/main"
You can’t perform that action at this time.
0 commit comments