mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-05 13:32:05 +08:00
devcontainer: handle hosts without X11 (#29537)
* Setup xauthority link on host in initializeCommand * Create a dummy xauthority if it does no exist on host machine * Remove xauthority line from ci test old-commit-hash: 659795b1db85636a2f97eba7616159047bf0c6e9
This commit is contained in:
@@ -105,8 +105,6 @@ jobs:
|
||||
- name: Build dev container image
|
||||
run: devcontainer build --workspace-folder .
|
||||
- name: Run dev container
|
||||
run: |
|
||||
export XAUTHORITY="$HOME/.Xauthority"
|
||||
devcontainer up --workspace-folder .
|
||||
run: devcontainer up --workspace-folder .
|
||||
- name: Test environment
|
||||
run: devcontainer exec --workspace-folder . scons --dry-run
|
||||
|
||||
Reference in New Issue
Block a user