1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

x.websockets: new websockets module on top of x.net (#6189)

This commit is contained in:
Tomas Hellström
2020-08-22 00:50:38 +02:00
committed by GitHub
parent 1b914d217e
commit fb148e0b61
29 changed files with 2302 additions and 1 deletions

View File

@@ -302,6 +302,7 @@ jobs:
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sqlite.bat
choco install openssl
## .\.github\workflows\windows-install-sdl.bat
- name: Fixed tests
run: |
@@ -335,6 +336,7 @@ jobs:
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sqlite.bat
choco install openssl
## .\.github\workflows\windows-install-sdl.bat
- name: Fixed tests
run: |
@@ -373,6 +375,7 @@ jobs:
run: |
.\v.exe setup-freetype
.\.github\workflows\windows-install-sqlite.bat
choco install openssl
## .\.github\workflows\windows-install-sdl.bat
- name: Fixed tests
run: |
@@ -474,3 +477,42 @@ jobs:
../v .
../v -autofree .
cd ..
# TODO: ACTIVATE THIS AFTER MERGE
# websocket_autobahn:
# name: Autobahn integrations tests
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v2
# - name: Run autobahn services
# run: docker-compose -f ${{github.workspace}}/vlib/x/websocket/tests/autobahn/docker-compose.yml up -d
# - name: Build client test
# run: docker exec autobahn_client "v" "/src/vlib/x/websocket/tests/autobahn/autobahn_client.v"
# - name: Run client test
# run: docker exec autobahn_client "/src/vlib/x/websocket/tests/autobahn/autobahn_client"
# - name: Run server test
# run: docker exec autobahn_server "wstest" "-m" "fuzzingclient" "-s" "/config/fuzzingclient.json"
# - name: Copy reports
# run: docker cp autobahn_server:/reports ${{github.workspace}}/reports
# - name: Test success
# run: docker exec autobahn_server "python" "/check_results.py"
# - name: Publish all reports
# uses: actions/upload-artifact@v2
# with:
# name: full report
# path: ${{github.workspace}}/reports
# - name: Publish report client
# uses: actions/upload-artifact@v2
# with:
# name: client
# path: ${{github.workspace}}/reports/clients/index.html
# - name: Publish report server
# uses: actions/upload-artifact@v2
# with:
# name: server
# path: ${{github.workspace}}/reports/servers/index.html