From d4c4016c7c23cd53c3ad33096d78803eda1bc177 Mon Sep 17 00:00:00 2001 From: EnderIce2 Date: Thu, 6 Mar 2025 00:35:44 +0000 Subject: [PATCH] ci: potential fix for Dev Container issues Signed-off-by: EnderIce2 --- .github/workflows/makefile.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/.github/workflows/makefile.yml b/.github/workflows/makefile.yml index b41b7818..c8e77f97 100644 --- a/.github/workflows/makefile.yml +++ b/.github/workflows/makefile.yml @@ -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: