ci: potential fix for Dev Container issues

Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
EnderIce2 2025-03-06 00:35:44 +00:00
parent 19055409cd
commit d4c4016c7c
No known key found for this signature in database
GPG Key ID: 2EE20AF089811A5A

View File

@ -47,6 +47,13 @@ jobs:
path: tools/cross
key: ${{ runner.os }}-cross-${{ hashFiles('tools/Makefile') }}
- name: Prepare Environment for Dev Container
run: |
sudo mkdir -p /tmp/.X11-unix
sudo touch /tmp/.Xauthority
sudo touch /run/user/1000/pulse/native
echo "XAUTHORITY=/tmp/.Xauthority" >> $GITHUB_ENV
- name: Run make ci-setup in dev container
if: steps.cache-cross.outputs.cache-hit != 'true'
uses: devcontainers/ci@v0.3
@ -146,6 +153,13 @@ jobs:
path: tools/cross
key: ${{ runner.os }}-cross-${{ hashFiles('tools/Makefile') }}
- name: Prepare Environment for Dev Container
run: |
sudo mkdir -p /tmp/.X11-unix
sudo touch /tmp/.Xauthority
sudo touch /run/user/1000/pulse/native
echo "XAUTHORITY=/tmp/.Xauthority" >> $GITHUB_ENV
- name: Run make ci-build in dev container
uses: devcontainers/ci@v0.3
with: