Skip to content

Commit

Permalink
Merge pull request #47 from toniebox-reverse-engineering/develop
Browse files Browse the repository at this point in the history
Next Version
  • Loading branch information
SciLor authored Aug 20, 2023
2 parents 1843243 + fb82e68 commit 4d2f9fe
Show file tree
Hide file tree
Showing 65 changed files with 4,334 additions and 1,055 deletions.
57 changes: 0 additions & 57 deletions .github/workflows/build_docker.yml

This file was deleted.

5 changes: 5 additions & 0 deletions .github/workflows/build_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,11 @@ jobs:
draft: true
prerelease: ${{ env.IS_PRERELEASE }}
if: github.event_name != 'pull_request'

- uses: actions/upload-artifact@master
with:
name: release.zip
path: ./install/zip/release.zip

- name: Upload Release Asset
id: upload-release-asset
Expand Down
169 changes: 0 additions & 169 deletions .github/workflows/build_release_multiarch.yml

This file was deleted.

12 changes: 7 additions & 5 deletions .github/workflows/build_release_test.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Build and zip windows/linux
name: Build and zip windows/linux Test

on:
workflow_dispatch:
Expand All @@ -16,23 +16,25 @@ jobs:

- name: Build windows
id: build-zip
run: make build
run: cmd /c "C:\"Program Files"\"Microsoft Visual Studio"\2022\Enterprise\VC\Auxiliary\Build\vcvars64.bat && make build PLATFORM=windows SHELL_ENV=bash"
shell: cmd
- name: Check windows executable existence
id: check_release
uses: andstor/file-existence-action@v1
with:
files: "./bin/teddybench.exe"
files: "bin/teddycloud.exe"
allow_failure: false
- name: File exist
if: steps.check_files.outputs.files_exists == 'true'
run: echo windows release zip exists!
- uses: actions/upload-artifact@master
with:
name: windows-exe
path: /bin/teddybench.exe
path: bin\*


build-linux-amd64:
needs: build-windows-amd64
runs-on: ubuntu-latest
outputs:
upload_url: ${{ steps.set_data1.outputs.upload_url }}
Expand Down Expand Up @@ -68,7 +70,7 @@ jobs:
- uses: actions/download-artifact@master
with:
name: windows-exe
path: /bin/teddybench.exe
path: ./bin/

- name: Build and zip amd64
id: build-zip
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ contrib/certs/server/teddy-key.pem
contrib/certs/client/teddy-cert.pem
contrib/certs/client/teddy-key.csr
contrib/certs/client/teddy-key.pem
.vs/
SSLKEYLOGFILE
22 changes: 22 additions & 0 deletions .vscode/c_cpp_properties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"configurations": [
{
"name": "Win32",
"includePath": [
"${workspaceFolder}/**"
],
"defines": [
"_DEBUG",
"UNICODE",
"_UNICODE"
],
"windowsSdkVersion": "10.0.22000.0",
"compilerPath": "cl.exe",
"cStandard": "c17",
"cppStandard": "c++17",
"intelliSenseMode": "windows-msvc-x64",
"configurationProvider": "ms-vscode.makefile-tools"
}
],
"version": 4
}
44 changes: 42 additions & 2 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"configurations": [
{
"name": "Launch Server",
"name": "[linux] teddyCloud",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/teddycloud",
Expand All @@ -16,7 +16,7 @@
},
},
{
"name": "Launch Cloud Time Test",
"name": "[linux] teddyCloud Time Test",
"type": "cppdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/teddycloud",
Expand All @@ -31,6 +31,46 @@
"linux": {
"MIMode": "gdb",
},
},
{
"name": "[wsl] teddyCloud",
"type": "cppdbg",
"request": "launch",
"program": "bin/teddycloud",
"args": [],
"cwd": ".",
"MIMode": "gdb",
"setupCommands": [
{
"description": "Enable pretty-printing for gdb",
"text": "-enable-pretty-printing",
"ignoreFailures": true
}
],
"pipeTransport": {
"pipeProgram": "wsl",
"pipeArgs": [ "--cd", "${workspaceFolder}", "-e", "bash", "-c" ]
},
"preLaunchTask": "[wsl] build",
"logging": {
"programOutput": true,
"engineLogging": true,
"trace": false,
"traceResponse": false,
"exceptions": false
}
},
{
"name": "[win32] teddyCloud",
"type": "cppvsdbg",
"request": "launch",
"program": "${workspaceFolder}/bin/teddycloud.exe",
"args": [],
"stopAtEntry": false,
"cwd": "${workspaceFolder}/",
"environment": [],
"externalConsole": true,
"preLaunchTask": "[win32] build"
}
]
}
Loading

0 comments on commit 4d2f9fe

Please sign in to comment.