Skip to content

The truly free, open-source, local-first, cross-platform CapCut replacement. Scriptable through a JSON-RPC API & MCP.

fix(media): the log relay's va_list parameter, on x86_64 where the alias does not compile

Jareer7d57ec2a4858
diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml
deleted file mode 100644
index d5c4d76a..00000000
--- a/.github/workflows/nightly.yml
+++ /dev/null
@@ -1,133 +0,0 @@
-name: Nightly
-
-# Every push to main that passes the engine's tests builds the app for every
-# platform and architecture, desktops and phones, and refreshes the rolling
-# `nightly` pre-release with the bundles: the latest main, always
-# downloadable, without anyone cutting a tag. The tag is moved to the commit the bundles were built from,
-# so the release page's "compare" and its notes stay honest.
-#
-# Tagged releases (release.yml) are the ones to point people at; this is the
-# one to point testers at. Successive pushes replace the assets, so there
-# is exactly one nightly and it is the newest.
-on:
- workflow_run:
- workflows: [CI]
- branches: [main]
- types: [completed]
- workflow_dispatch:
-
-concurrency:
- group: nightly
- cancel-in-progress: true
-
-jobs:
- build:
- # Only after a green CI run on main; a manual run builds whatever main is.
- if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
- uses: ./.github/workflows/build-app.yml
- secrets: inherit
-
- phones:
- if: github.event_name == 'workflow_dispatch' || github.event.workflow_run.conclusion == 'success'
- uses: ./.github/workflows/mobile.yml
- secrets: inherit
-
- publish:
- name: Refresh the nightly release
- needs: [build, phones]
- runs-on: ubuntu-latest
- permissions:
- contents: write
- steps:
- - uses: actions/checkout@v7
- with:
- fetch-depth: 0
-
- - uses: actions/download-artifact@v8
- with:
- path: bundles
- merge-multiple: true
-
- # Named by the commit, so two testers can say which nightly they have.
- - name: Name the bundles by commit
- id: stamp
- run: |
- set -euo pipefail
- sha=$(git rev-parse --short=10 HEAD)
- version=$(sed -n 's/^version = "\(.*\)"/\1/p' src/Cargo.toml | head -1)
- cd bundles
- for file in Concat-*; do
- mv "$file" "${file/Concat-$version/Concat-$version-nightly.$sha}"
- done
- ls -l
- {
- echo "sha=$sha"
- echo "version=$version"
- echo "stamped=$version-nightly.$sha"
- echo "date=$(date -u +%Y-%m-%d)"
- } >> "$GITHUB_OUTPUT"
-
- # The same manifest a tagged release carries, so anything reading one
- # can read the other: a row per bundle, and a row per model with the
- # mirror it is fetched from. See scripts/models.py.
- - name: Write the manifest
- run: |
- set -euo pipefail
- python3 scripts/models.py release-manifest \
- --version "${{ steps.stamp.outputs.stamped }}" \
- --tag nightly \
- --bundles bundles \
- --out bundles/manifest.json
- cat bundles/manifest.json
-
- - name: Checksums
- run: |
- set -euo pipefail
- cd bundles
- sha256sum -- * > SHA256SUMS
- ls -l
-
- # Yesterday's bundles carry yesterday's commit in their names, so
- # they would pile up beside today's; the release holds one set.
- - name: Drop the previous nightly's assets
- env:
- GH_TOKEN: ${{ github.token }}
- run: |
- set -euo pipefail
- if gh release view nightly --repo "$GITHUB_REPOSITORY" >/dev/null 2>&1; then
- gh release view nightly --repo "$GITHUB_REPOSITORY" --json assets -q '.assets[].name' \
- | while read -r asset; do
- gh release delete-asset nightly "$asset" --repo "$GITHUB_REPOSITORY" -y
- done
- fi
-
- # The notes are the commits since the previous nightly, read before
- # the tag moves; the first nightly counts from the last release.
- - name: Write the notes
- run: |
- set -euo pipefail
- previous=$(git rev-parse -q --verify refs/tags/nightly 2>/dev/null \
- || git describe --tags --abbrev=0 --match 'v*' HEAD 2>/dev/null \
- || git rev-list --max-parents=0 HEAD | tail -1)
- .github/release-notes.sh "$previous" HEAD \
- "Nightly ${{ steps.stamp.outputs.version }} · ${{ steps.stamp.outputs.date }} · ${{ steps.stamp.outputs.sha }}" nightly \
- > "$RUNNER_TEMP/notes.md"
- cat "$RUNNER_TEMP/notes.md"
-
- # The tag follows main, so the release always points at the commit
- # its bundles came from.
- - name: Move the nightly tag
- run: |
- git config user.name "github-actions[bot]"
- git config user.email "41898282+github-actions[bot]@users.noreply.github.com"
- git tag -f nightly
- git push -f origin nightly
-
- - uses: softprops/action-gh-release@v3
- with:
- tag_name: nightly
- name: Nightly ${{ steps.stamp.outputs.version }} (${{ steps.stamp.outputs.date }}, ${{ steps.stamp.outputs.sha }})
- prerelease: true
- body_path: ${{ runner.temp }}/notes.md
- fail_on_unmatched_files: true
- files: bundles/*