Skip to content

Commit 06d1257

Browse files
authored
Merge pull request #357 from HapticX/dev
v4.6.2
2 parents e9314bb + cec6f12 commit 06d1257

File tree

4 files changed

+32
-4
lines changed

4 files changed

+32
-4
lines changed

.github/workflows/tests.yml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,34 @@ jobs:
6666
github_token: ${{ secrets.github_token }}
6767
reporter: github-pr-review # Change reporter.
6868
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
6997
async_http_server:
7098
name: Test C via AsyncHttpServer 🧪
7199
needs: dependencies
@@ -91,7 +119,7 @@ jobs:
91119
echo "###===--- Default for" $file "---===###"
92120
for file in $(ls -v testc*.nim); do
93121
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
95123
done
96124
shell: bash
97125
micro_async_http_server:

happyx.nimble

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
description = "Macro-oriented asynchronous web-framework written with ♥"
44
author = "HapticX"
5-
version = "4.6.1"
5+
version = "4.6.2"
66
license = "MIT"
77
srcDir = "src"
88
installExt = @["nim"]

src/happyx/core/constants.nim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ const
109109
# Framework version
110110
HpxMajor* = 4
111111
HpxMinor* = 6
112-
HpxPatch* = 1
112+
HpxPatch* = 2
113113
HpxVersion* = $HpxMajor & "." & $HpxMinor & "." & $HpxPatch
114114

115115

tests/button.hpx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</template>
1111

1212

13-
<script js>
13+
<script lang="js">
1414
console.log("Hello, world!");
1515
</script>
1616

0 commit comments

Comments
 (0)