File tree Expand file tree Collapse file tree 4 files changed +32
-4
lines changed Expand file tree Collapse file tree 4 files changed +32
-4
lines changed Original file line number Diff line number Diff line change 66
66
github_token : ${{ secrets.github_token }}
67
67
reporter : github-pr-review # Change reporter.
68
68
src : ' src/*.nim'
69
+ built_in_server :
70
+ name : Test C via built-in server 🧪
71
+ needs : dependencies
72
+ runs-on : ${{ matrix.os }}
73
+ strategy :
74
+ matrix :
75
+ os :
76
+ - ubuntu-latest
77
+ env :
78
+ TIMEOUT_EXIT_STATUS : 124
79
+ steps :
80
+ - uses : actions/checkout@v4
81
+ - uses : actions/cache@v4
82
+ with :
83
+ path : |
84
+ ~/.nimble
85
+ .nim_runtime
86
+ key : ${{ runner.os }}-nimble-v2-${{ hashFiles('*.nimble') }}
87
+ - name : Build C tests (Default HTTP Server) ⚡
88
+ run : |
89
+ export PATH=$PATH:$PWD/.nim_runtime/bin
90
+ cd tests
91
+ echo "###===--- Default for" $file "---===###"
92
+ for file in $(ls -v testc*.nim); do
93
+ echo "###===--- C Test for " $file " via built-in server ---===###"
94
+ nim c -d:debug --hints:off --warnings:off $file
95
+ done
96
+ shell : bash
69
97
async_http_server :
70
98
name : Test C via AsyncHttpServer 🧪
71
99
needs : dependencies
91
119
echo "###===--- Default for" $file "---===###"
92
120
for file in $(ls -v testc*.nim); do
93
121
echo "###===--- C Test for " $file " via stdlib ---===###"
94
- nim c -d:debug --hints:off --warnings:off $file
122
+ nim c -d:debug -d:stdserver - -hints:off --warnings:off $file
95
123
done
96
124
shell : bash
97
125
micro_async_http_server :
Original file line number Diff line number Diff line change 2
2
3
3
description = " Macro-oriented asynchronous web-framework written with ♥"
4
4
author = " HapticX"
5
- version = " 4.6.1 "
5
+ version = " 4.6.2 "
6
6
license = " MIT"
7
7
srcDir = " src"
8
8
installExt = @ [" nim" ]
Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ const
109
109
# Framework version
110
110
HpxMajor* = 4
111
111
HpxMinor* = 6
112
- HpxPatch* = 1
112
+ HpxPatch* = 2
113
113
HpxVersion* = $ HpxMajor & " ." & $ HpxMinor & " ." & $ HpxPatch
114
114
115
115
Original file line number Diff line number Diff line change 10
10
</template>
11
11
12
12
13
- <script js >
13
+ <script lang="js" >
14
14
console.log("Hello, world!");
15
15
</script>
16
16
You can’t perform that action at this time.
0 commit comments