ci: fix windows and android builds (hopefully)

This commit is contained in:
itsmattkc committed 2026-08-04 12:19:42 -07:00
1 parent 577405a92c
commit ff486be0ab
3 files changed
+2 -10

No files matched your search

-8
View File
@@ -57,12 +57,6 @@ jobs:
- uses: docker/setup-buildx-action@v3
# Every image's Docker build is slow to produce from scratch (buildroot images
# compile a full embedded Linux; others pull large cross toolchains), so
# BuildKit imports a layer cache published to GHCR (seeded from a host as
# documented in docker/README.md). On a cache hit the expensive layers are reused,
# not re-executed. A Dockerfile/context edit is a natural cache miss, so PRs
# still build and test the change.
- name: Log in to GHCR
uses: docker/login-action@v3
with:
@@ -87,8 +81,6 @@ jobs:
tags: vanilla-${{ matrix.platform.os }}-${{ matrix.platform.arch }}
load: true
cache-from: type=registry,ref=${{ steps.cache.outputs.ref }}
# Refresh the shared cache only when publishing from master on the canonical
# repo; PRs (including forks) read the cache but never write it.
cache-to: ${{ (github.event_name == 'push' && github.ref == 'refs/heads/master' && github.repository == 'vanilla-wiiu/vanilla') && format('type=registry,ref={0},mode=max', steps.cache.outputs.ref) || '' }}
- name: Run Docker container
+1 -1
View File
@@ -774,7 +774,7 @@ static AVPacket *vpi_decode_get_next_packet(vpi_decode_state_t *s, int wait)
// Otherwise, only wait for a short time before checking
struct timespec deadline;
timespec_get(&deadline, TIME_UTC);
clock_gettime(CLOCK_REALTIME, &deadline);
deadline.tv_nsec += VPI_DECODE_POLL_US * 1000;
if (deadline.tv_nsec >= 1000000000) {
deadline.tv_sec++;
+1 -1
View File
@@ -2127,7 +2127,7 @@ int vui_update_sdl(vui_context_t *vui)
Uint32 wait_ms = target - frame_delta;
if (vui->game_mode) {
struct timespec deadline;
timespec_get(&deadline, TIME_UTC);
clock_gettime(CLOCK_REALTIME, &deadline);
deadline.tv_nsec += (long) wait_ms * 1000000;
if (deadline.tv_nsec >= 1000000000) {
deadline.tv_sec++;