mirror of
https://github.com/MoreTore/openpilot.git
synced 2026-08-06 08:46:11 +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: 659795b1db
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