mirror of
https://github.com/EnderIce2/Fennix.git
synced 2025-05-28 15:34:31 +00:00
ci: potential fix for Dev Container issues
Signed-off-by: EnderIce2 <enderice2@protonmail.com>
This commit is contained in:
parent
19055409cd
commit
d4c4016c7c
14
.github/workflows/makefile.yml
vendored
14
.github/workflows/makefile.yml
vendored
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user