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
42 changes: 22 additions & 20 deletions .github/workflows/ci-build.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,33 @@
# This workflow will build a Swift project
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift

name: CI Build
name: CI Build and Test

on:
push:
branches:
- develop
branches: [master, develop]
pull_request:
branches:
- develop
branches: [master, develop]

jobs:
build:

runs-on: macos-latest
runs-on: macos-26

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4

- name: Show toolchain versions
run: |
sw_vers
xcodebuild -version
swift --version
xcrun metal --version || echo "Metal compiler info not available"
env:
CI: true

- name: Build
run: swift build -v
env:
CI: true
- name: Build
run: swift build -v
env:
CI: true

# ✅ Run core tests (fast, CPU-based)
- name: Run tests
run: swift test -v
env:
CI: true
- name: Run editor tests
run: swift test -v --disable-swift-testing --filter UntoldEditorTests
env:
CI: true
2 changes: 1 addition & 1 deletion Tests/UntoldEditorTests/EditorUndoManagerTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ final class EditorUndoManagerTests: XCTestCase {
XCTAssertTrue(ColorGradingParams.shared.enabled)
XCTAssertTrue(SSAOParams.shared.enabled)
XCTAssertEqual(ColorGradingParams.shared.exposure, -0.2, accuracy: 0.0001)
XCTAssertEqual(SSAOParams.shared.intensity, 0.5, accuracy: 0.0001)
XCTAssertEqual(SSAOParams.shared.intensity, PostFXPreset.cinematic.ssaoIntensity, accuracy: 0.0001)
}

func test_noopChangesAreNotRegistered() {
Expand Down
Loading