mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-22 19:33:26 +00:00
feat(ci): add CI support for building and booting riscv64 kernel in workflow, within oscomp environment (#6)
* feat(ide): add gdb-multiarch debug support for better stack tracking * feat(test): add oscomp testcase aquirement * feat(ci): bump to oscomp test * feat(ci): new ci procedure * feat(ci): update CI workflow to replace git mirror and remove unnecessary userland build condition
This commit is contained in:
28
.vscode/launch.json
vendored
28
.vscode/launch.json
vendored
@ -7,18 +7,42 @@
|
||||
{
|
||||
"type": "lldb",
|
||||
"request": "launch",
|
||||
"name": "Debug RISCV64 elf",
|
||||
"name": "Debug RISCV64 lldb",
|
||||
"stopOnEntry": false,
|
||||
"preLaunchTask": "DragonOS: Start riscv64",
|
||||
"targetCreateCommands": ["target create ${workspaceFolder}/bin/riscv64/kernel/kernel.elf"],
|
||||
"processCreateCommands": [
|
||||
"gdb-remote localhost:1234",
|
||||
"settings set target.process.follow-fork-mode child",
|
||||
"continue" // Get over the first trap into the kernel
|
||||
],
|
||||
"args": [],
|
||||
"cwd": "${workspaceFolder}",
|
||||
"sourceLanguages": ["c", "cpp", "rust"],
|
||||
"console": "internalConsole"
|
||||
},
|
||||
{
|
||||
"type": "cppdbg",
|
||||
"request": "launch",
|
||||
"name": "Debug RISCV64 gdb-multiarch",
|
||||
"stopAtConnect": true,
|
||||
"program": "${workspaceRoot}/bin/riscv64/kernel/kernel.elf",
|
||||
"miDebuggerPath": "gdb-multiarch",
|
||||
"miDebuggerServerAddress": "localhost:1234",
|
||||
"postRemoteConnectCommands": [
|
||||
{
|
||||
"text": "set follow-fork-mode child"
|
||||
}
|
||||
],
|
||||
"useExtendedRemote": true,
|
||||
"args": [],
|
||||
"cwd": "${workspaceRoot}",
|
||||
"environment": [],
|
||||
"internalConsoleOptions": "neverOpen",
|
||||
"externalConsole": false,
|
||||
"logging": {
|
||||
"engineLogging": false
|
||||
},
|
||||
"MIMode": "gdb"
|
||||
}
|
||||
]
|
||||
}
|
1
.vscode/tasks.json
vendored
1
.vscode/tasks.json
vendored
@ -26,6 +26,7 @@
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}/oscomp"
|
||||
},
|
||||
"problemMatcher": [],
|
||||
"isBackground": true
|
||||
}
|
||||
]
|
||||
|
Reference in New Issue
Block a user