GitHub / windows amd64 native GitHub-hosted native CI: success
GitHub / darwin arm64 native GitHub-hosted native CI: success
GitHub / darwin amd64 native GitHub-hosted native CI: success
GitHub / linux amd64 native GitHub-hosted native CI: success
ci / build (amd64, linux, ubuntu-24.04) (push) Successful in 13m43s
ci / release (push) Skipped
ci-platforms / windows amd64 smoke (push) Skipped
ci-platforms / darwin arm64 smoke (push) Skipped
ci-platforms / darwin amd64 smoke (push) Skipped
github-native / gitea-pending (push) Skipped
github-native / darwin amd64 native (push) Skipped
github-native / linux amd64 native (push) Skipped
github-native / windows amd64 native (push) Skipped
github-native / darwin arm64 native (push) Skipped
github-native / gitea-result (push) Skipped
ci / checks (push) Failing after 1h25m8s
ci / native-authoring (push) Skipped
Add dockable Art tools, animation and previews, guarded asset workflows, and the Web Asset Studio built on the shared Art Core. Expand English and Russian documentation, interactive Try scenes, examples and editor icons. Add audio waveform navigation, source analysis, guarded previews and a browser Worker mixer. Preserve source changes and recovery with bounded checks, and strengthen native, browser and interoperability CI. Prepare version 0.12.5 and manually built native artifact candidates. Fix the production site image demo build dependency. Reuse immutable scene indices when capturing keyframes. Wait for real Persist save/load completion in component tests. Aseprite interchange and persistent Audio EDL recovery remain limited; the artifact workflow does not publish releases or change stable.
111 lines
4.1 KiB
YAML
111 lines
4.1 KiB
YAML
name: ci-platforms
|
|
|
|
on:
|
|
push:
|
|
branches: [master]
|
|
pull_request:
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
env:
|
|
GLSLANG_APT_VERSION: 15.1.0-2~ubuntu0.24.04.2
|
|
LINUX_PKGS: >-
|
|
build-essential cmake ninja-build pkg-config openssl
|
|
libgl1-mesa-dev libegl1-mesa-dev libgles2-mesa-dev
|
|
libx11-dev libxext-dev libxrandr-dev libxcursor-dev libxfixes-dev libxi-dev libxss-dev libxtst-dev libxkbcommon-dev
|
|
libwayland-dev wayland-protocols libdecor-0-dev
|
|
libasound2-dev libpulse-dev libdrm-dev libgbm-dev libudev-dev libdbus-1-dev libibus-1.0-dev
|
|
|
|
jobs:
|
|
# Native runs on Windows and macOS machines; the Windows build itself is cross-compiled on Linux in ci.yml (D301).
|
|
smoke:
|
|
name: ${{ matrix.goos }} ${{ matrix.goarch }} smoke
|
|
if: github.server_url != 'https://github.com' && vars.PLATFORM_RUNNERS == 'true'
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
include:
|
|
- { os: windows-2022, goos: windows, goarch: amd64 }
|
|
- { os: macos-15-intel, goos: darwin, goarch: amd64 }
|
|
- { os: macos-15, goos: darwin, goarch: arm64 }
|
|
runs-on: ${{ vars.PLATFORM_RUNNERS == 'true' && matrix.os || 'ubuntu-24.04' }}
|
|
defaults:
|
|
run:
|
|
shell: bash
|
|
env:
|
|
CGO_ENABLED: "1"
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-go@v5
|
|
with:
|
|
go-version-file: go.mod
|
|
- name: linux packages
|
|
if: runner.os == 'Linux'
|
|
run: sudo apt-get update && sudo apt-get install -y $LINUX_PKGS "glslang-tools=$GLSLANG_APT_VERSION" && bash tools/check-glslang.sh
|
|
- name: msys2
|
|
if: runner.os == 'Windows'
|
|
id: msys2
|
|
uses: msys2/setup-msys2@v2
|
|
with:
|
|
msystem: UCRT64
|
|
update: false
|
|
install: mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-cmake mingw-w64-ucrt-x86_64-ninja
|
|
- name: mingw path
|
|
if: runner.os == 'Windows'
|
|
run: echo "${{ steps.msys2.outputs.msys2-location }}\ucrt64\bin" >> "$GITHUB_PATH"
|
|
- name: macos tools
|
|
if: runner.os == 'macOS'
|
|
run: brew list ninja >/dev/null 2>&1 || brew install ninja
|
|
- uses: actions/cache@v4
|
|
continue-on-error: true
|
|
with:
|
|
path: .cache/native
|
|
key: native-${{ matrix.goos }}_${{ matrix.goarch }}-${{ hashFiles('third_party/sdl/version.txt', 'tools/bootstrap-native.sh') }}
|
|
- name: bootstrap native
|
|
run: bash tools/bootstrap-native.sh
|
|
- name: build
|
|
run: go build ./...
|
|
- name: test
|
|
run: go test ./...
|
|
- name: test without native backends
|
|
run: go test -tags aego_nonative $(go list ./... | grep -v -e '/platform/sdl$' -e '/gpu/gl33$' -e '/gpu/gl33/gl$')
|
|
- name: gl tests (offscreen, llvmpipe)
|
|
if: runner.os == 'Linux'
|
|
env:
|
|
SDL_VIDEODRIVER: offscreen
|
|
LIBGL_ALWAYS_SOFTWARE: "1"
|
|
GALLIUM_DRIVER: llvmpipe
|
|
run: go test -tags aego_gltest ./tests/gl/
|
|
- name: golden
|
|
if: runner.os == 'Linux'
|
|
env:
|
|
SDL_VIDEODRIVER: offscreen
|
|
LIBGL_ALWAYS_SOFTWARE: "1"
|
|
GALLIUM_DRIVER: llvmpipe
|
|
run: go test -tags aego_golden ./tests/golden/...
|
|
- name: headless smoke
|
|
run: go run ./cmd/sandbox --demo headless --frames 600 --strict-allocs
|
|
- name: build the cli
|
|
run: go build -o /tmp/aego ./cmd/aego
|
|
- name: cli smoke
|
|
run: |
|
|
/tmp/aego new /tmp/clitest
|
|
/tmp/aego import /tmp/clitest
|
|
/tmp/aego check /tmp/clitest
|
|
/tmp/aego run /tmp/clitest --headless --frames 60
|
|
- name: example project
|
|
run: |
|
|
/tmp/aego check examples/native-rotator
|
|
/tmp/aego run examples/native-rotator --headless --frames 60
|
|
- name: export packages
|
|
run: go test -count=1 ./runtime/... ./vfs/exportfs ./app/export/...
|
|
- name: export and run headless
|
|
run: go test -count=1 -run 'TestExport' -v ./tests/integration
|
|
- name: editor app bundle
|
|
if: runner.os == 'macOS'
|
|
run: |
|
|
make editor-app
|
|
plutil -lint ".cache/Aego Editor.app/Contents/Info.plist"
|
|
codesign --verify --deep ".cache/Aego Editor.app"
|