Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,10 @@ jobs:
chmod 700 /tmp/runtime-runner
export XDG_RUNTIME_DIR=/tmp/runtime-runner
nix develop --command weston --socket=headless --backend=headless-backend.so --width=1280 --height=720 &
echo "WAYLAND_DISPLAY=headless" >> $GITHUB_ENV
echo "XDG_RUNTIME_DIR=/tmp/runtime-runner" >> $GITHUB_ENV
{
echo "WAYLAND_DISPLAY=headless"
echo "XDG_RUNTIME_DIR=/tmp/runtime-runner"
} >> "$GITHUB_ENV"
sleep 5

- name: Run integration smoke test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opencode-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
uses: ./.github/actions/setup-nix

- name: Prepare opencode cache
run: mkdir -p /tmp/opencode-cache && echo "XDG_CACHE_HOME=/tmp/opencode-cache" >> $GITHUB_ENV
run: mkdir -p /tmp/opencode-cache && echo "XDG_CACHE_HOME=/tmp/opencode-cache" >> "$GITHUB_ENV"

- name: Run opencode
uses: anomalyco/opencode/github@latest
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/opencode-test-writer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ jobs:
else
GRAPHICS_COUNT=${#GRAPHICS_MODULES[@]}
OTHER_COUNT=${#OTHER_MODULES[@]}
TOTAL=$((GRAPHICS_COUNT + OTHER_COUNT))

SLOT=$(($(date +%s) / 28800))
PARITY=$((SLOT % 2))
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/opencode.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
uses: ./.github/actions/setup-nix

- name: Prepare opencode cache
run: mkdir -p /tmp/opencode-cache && echo "XDG_CACHE_HOME=/tmp/opencode-cache" >> $GITHUB_ENV
run: mkdir -p /tmp/opencode-cache && echo "XDG_CACHE_HOME=/tmp/opencode-cache" >> "$GITHUB_ENV"

- name: Run opencode
uses: anomalyco/opencode/github@latest
Expand Down
14 changes: 8 additions & 6 deletions .github/workflows/visual-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ jobs:
mkdir -p /tmp/opencode-cache
export XDG_RUNTIME_DIR=/tmp/runtime-runner
nix develop --command weston --socket=headless --backend=headless-backend.so --width=1280 --height=720 &
echo "WAYLAND_DISPLAY=headless" >> $GITHUB_ENV
echo "XDG_RUNTIME_DIR=/tmp/runtime-runner" >> $GITHUB_ENV
echo "XDG_CACHE_HOME=/tmp/opencode-cache" >> $GITHUB_ENV
{
echo "WAYLAND_DISPLAY=headless"
echo "XDG_RUNTIME_DIR=/tmp/runtime-runner"
echo "XDG_CACHE_HOME=/tmp/opencode-cache"
} >> "$GITHUB_ENV"
sleep 5

- name: Ensure visual-test label exists
Expand Down Expand Up @@ -62,9 +64,9 @@ jobs:
run: |
if [ -f screenshot.ppm ]; then
nix run nixpkgs#imagemagick -- screenshot.ppm screenshot.png
echo "screenshot_exists=true" >> $GITHUB_OUTPUT
echo "screenshot_exists=true" >> "$GITHUB_OUTPUT"
else
echo "screenshot_exists=false" >> $GITHUB_OUTPUT
echo "screenshot_exists=false" >> "$GITHUB_OUTPUT"
fi

- name: Upload screenshot artifact
Expand All @@ -80,7 +82,7 @@ jobs:
- name: Check build log exists
id: check_log
if: always()
run: 'test -f build-output.log && echo "exists=true" >> $GITHUB_OUTPUT || echo "exists=false" >> $GITHUB_OUTPUT'
run: 'test -f build-output.log && echo "exists=true" >> "$GITHUB_OUTPUT" || echo "exists=false" >> "$GITHUB_OUTPUT"'

- name: Upload build log artifact
if: always() && steps.check_log.outputs.exists == 'true'
Expand Down
Loading