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
20 changes: 17 additions & 3 deletions .github/workflows/linux-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
github.event.pull_request.head.repo.full_name == github.repository
timeout-minutes: 120
env:
VCPKG_DEFAULT_BINARY_CACHE: /cache/vcpkg
VCPKG_DEFAULT_HOST_TRIPLET: x64-linux-dynamic
FASTBUILD_CACHE_PATH: /cache/fastbuild
GLOBAL_VCPKG_PATH: /tmp/vcpkg
Expand Down Expand Up @@ -88,10 +87,25 @@ jobs:
echo "vcpkg: $(vcpkg version 2>&1 | head -2 | tail -1)"

# ── vcpkg ─────────────────────────────────────────────────
- name: Ensure vcpkg binary cache dir
run: mkdir -p "$VCPKG_DEFAULT_BINARY_CACHE"
- name: Setup vcpkg binary caching (GitHub Actions)
uses: actions/github-script@v8
with:
script: |
core.exportVariable('ACTIONS_CACHE_URL', process.env.ACTIONS_CACHE_URL || '');
core.exportVariable('ACTIONS_RUNTIME_TOKEN', process.env.ACTIONS_RUNTIME_TOKEN || '');

- name: Restore vcpkg installed packages
id: vcpkg-cache
uses: actions/cache@v5
with:
path: /tmp/vcpkg/installed
key: vcpkg-foundation-x64-linux-dynamic-${{ hashFiles('.github/workflows/linux-ci.yml') }}-v1
Comment thread
deku2026 marked this conversation as resolved.
restore-keys: vcpkg-foundation-x64-linux-dynamic-

- name: Install vcpkg packages
if: steps.vcpkg-cache.outputs.cache-hit != 'true'
env:
VCPKG_BINARY_SOURCES: clear;x-gha,readwrite
run: |
vcpkg install \
--triplet x64-linux-dynamic \
Expand Down
3 changes: 2 additions & 1 deletion include/arcvideo/foundation/util/rational.h
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,8 @@ class rational {
}

// Convert ArcVideo rationals to opentime rationals with the given framerate (defaults to 24)
opentime::RationalTime toRationalTime(double framerate = 24) const;

[[nodiscard]] opentime::RationalTime toRationalTime(double framerate = 24) const;
#endif

// Produce "flipped" version
Expand Down