Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
66 commits
Select commit Hold shift + click to select a range
e735e05
Remove unnecessary whitespaces
rrbox Aug 17, 2024
08138a4
Merge pull request #108 from rrbox/feat/remove_unnecessary_whitespaces
rrbox Aug 17, 2024
6ae7ff7
Add .circleci/config.yml
rrbox Aug 18, 2024
745a50a
Updated config.yml
rrbox Aug 18, 2024
16a7cb9
Updated config.yml
rrbox Aug 18, 2024
45083a2
Remove unnecessary file
rrbox Aug 18, 2024
886a86d
Updated config.yml
rrbox Aug 18, 2024
5f04061
Merge pull request #111 from rrbox/feat/remove_unnecessary_file
rrbox Aug 18, 2024
5cfec9f
Add CircleCI Status Badge
rrbox Aug 18, 2024
3d18be1
Merge pull request #110 from rrbox/circleci-project-setup
rrbox Aug 18, 2024
d92b394
Remove import statement for macro target
rrbox Sep 1, 2024
73505b3
Add ios platform setting
rrbox Sep 1, 2024
6f80879
Disable specific code for iOS build
rrbox Sep 1, 2024
2a9b1d0
Merge pull request #115 from rrbox/feat/ios
rrbox Sep 1, 2024
6388fb7
Add Touch
rrbox Sep 1, 2024
879aa62
Update schemes
rrbox Sep 1, 2024
eb90324
Merge pull request #116 from rrbox/feat/touch
rrbox Sep 1, 2024
de791b6
Prepare tests for the implementation of the new lifecycle
rrbox Apr 13, 2025
ff70509
Refactor scheduling and lifecycle management in World and Schedule
rrbox Apr 13, 2025
024c8fb
Update StateTests
rrbox Apr 27, 2025
e45c102
Refactor state management in StateStorage and World to enhance state …
rrbox Apr 27, 2025
7cd36f9
Update GraphicPlugInTests to revise assertions for entity counts
rrbox Apr 27, 2025
7f56f9a
Update Xcode version in CircleCI configuration to 16.1.0
rrbox Apr 27, 2025
7288a1a
Update macOS version in GitHub Actions workflow to 14
rrbox Apr 27, 2025
fecf3f0
Merge pull request #139 from rrbox/feat/lifecycle
rrbox Apr 27, 2025
143e548
Update README
rrbox Apr 29, 2025
0ab4b99
Add Nodes
rrbox May 18, 2025
044931f
Update graphic system tests
rrbox May 18, 2025
8361868
Update graphic system to use postStartUp and postUpdate phases
rrbox May 18, 2025
8bf6b2d
Update graphic system to remove graphic
rrbox Jun 1, 2025
dddf297
Update graphic plugin tests to enhance functionality and fix assertions
rrbox Jun 1, 2025
90c28db
Add _removeNodeIfDespawned system
rrbox Jun 1, 2025
e44728a
Refactor child despawn tests to use step order assertions and simplif…
rrbox Jun 1, 2025
588af72
Fix test setup by adding initial world update before performance meas…
rrbox Jun 8, 2025
f540cbe
Add ECSTAssertStepOrder function for step order assertions in tests
rrbox Jun 15, 2025
dbc83d6
Add EventSchedule and StateAssociatedEventSchedules for event handling
rrbox Jun 15, 2025
5a9c0b1
Refactor event handling to use EventSchedule
rrbox Jun 15, 2025
71b86f1
Refactor setUpWorld to remove event handling
rrbox Jun 15, 2025
516f008
Refactor entity handling to use EntityRecordRef across multiple compo…
rrbox Jun 29, 2025
edfdc08
Remove World+Graphic2D.swift file and associated graphic handling ext…
rrbox Jun 29, 2025
53c6fd7
Remove redundant world.update(currentTime: 0) calls in tests
rrbox Jun 29, 2025
3c5083c
Merge pull request #141 from rrbox/feat/graphic
rrbox Jun 29, 2025
1823021
Update README.md
rrbox Jun 29, 2025
52ad9c1
Update README_ja.md
rrbox Jun 29, 2025
58e2359
Merge pull request #143 from rrbox/feature_add_discord_badge
rrbox Jun 29, 2025
4542ed3
Update workflow to run on macOS 15
rrbox Jun 29, 2025
0747271
Merge pull request #144 from rrbox/feature_actions
rrbox Jun 29, 2025
7411dd1
Remove CommandsStorage and access Commands directly from WorldStorageRef
rrbox Jul 2, 2025
50b6998
Add AdditionalStorage protocol and extension for managing storage ele…
rrbox Jul 3, 2025
1ef2d20
Refactor Storage Management
rrbox Jul 3, 2025
fbc3e4b
Clean up ChunkStorage methods
rrbox Jul 3, 2025
e9db257
Merge pull request #145 from rrbox/feat/refactor_world_storage
rrbox Jul 3, 2025
40ec625
Update methods and refactor for migration to ChunkStorageRef
rrbox Jul 4, 2025
3e50592
Remove public access modifier from ChunkStorage enum
rrbox Jul 4, 2025
b7966a4
Refactor chunk storage references in tests to use chunkStorageRef
rrbox Jul 4, 2025
66380e3
Merge pull request #146 from rrbox/feat/refactor_world_storage
rrbox Jul 4, 2025
7edd216
Add setGraphic method for connecting existing SKNode to entity
rrbox Jul 4, 2025
acf5482
Add overloaded connect method for SceneResource to link existing SKNo…
rrbox Jul 5, 2025
7d0e7ee
Rename connect method argument from typeOf to as
rrbox Jul 5, 2025
719e6bd
Merge pull request #147 from rrbox/feat/connect_node
rrbox Jul 5, 2025
23bd454
Refactor event handling in EventTests to iterate over events consiste…
rrbox Jul 6, 2025
61dad99
Remove unused event-related classes and protocols
rrbox Jul 6, 2025
cb41989
Add event handling classes and protocols for ECS event system
rrbox Jul 6, 2025
a040064
Refactor event handling to use receivers instead of queues, enhancing…
rrbox Jul 6, 2025
f51bc88
Remove unnecessary entity spawn/despawn info from event schedule docu…
rrbox Jul 6, 2025
ca1a53c
Merge pull request #148 from rrbox/feat/events
rrbox Jul 6, 2025
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
57 changes: 57 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
version: 2.1

jobs:
build:
macos:
xcode: 16.1.0
steps:
- checkout
# - run: apt-get update && apt-get install -y curl
- run:
name: Install dependencies
command: swift package resolve
- run:
name: Build project
command: swift build
- run:
name: Run tests
command: swift test
- run:
name: Discord Notify Success
command: |
curl -H "Content-Type: application/json" \
-d "{
\"avatar_url\": \"https://github.com/circleci.png\",
\"embeds\": [
{
\"title\": \"$CIRCLE_PROJECT_REPONAME:$CIRCLE_BRANCH\",
\"description\": \"✅ Build and tests completed successfully!\",
\"url\": \"$CIRCLE_PULL_REQUEST\",
\"color\": 2423811
}
]
}" \
$DISCORD_NOTIFY_URL
when: on_success
- run:
name: Discord Notify Failure
command: |
curl -H "Content-Type: application/json" \
-d "{
\"avatar_url\": \"https://github.com/circleci.png\",
\"embeds\": [
{
\"title\": \"$CIRCLE_PROJECT_REPONAME:$CIRCLE_BRANCH\",
\"description\": \"⚠️ Build or tests failed. Please check the logs.\",
\"url\": \"$CIRCLE_PULL_REQUEST\",
\"color\": 16518915
}
]
}" \
$DISCORD_NOTIFY_URL
when: on_fail

workflows:
swiftpm_build:
jobs:
- build
2 changes: 1 addition & 1 deletion .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ on:
jobs:
build:

runs-on: macos-13
runs-on: macos-15

steps:
- uses: actions/checkout@v3
Expand Down
208 changes: 0 additions & 208 deletions .swiftpm/xcode/xcshareddata/xcschemes/ECS.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -20,118 +20,6 @@
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "KeyBoardPlugIn"
BuildableName = "KeyBoardPlugIn"
BlueprintName = "KeyBoardPlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MousePlugIn"
BuildableName = "MousePlugIn"
BlueprintName = "MousePlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ObjectLinkPlugIn"
BuildableName = "ObjectLinkPlugIn"
BlueprintName = "ObjectLinkPlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ScrollPlugIn"
BuildableName = "ScrollPlugIn"
BlueprintName = "ScrollPlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "KeyBoardPlugInTests"
BuildableName = "KeyBoardPlugInTests"
BlueprintName = "KeyBoardPlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MousePlugInTests"
BuildableName = "MousePlugInTests"
BlueprintName = "MousePlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ObjectLinkPlugInTests"
BuildableName = "ObjectLinkPlugInTests"
BlueprintName = "ObjectLinkPlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "NO"
buildForArchiving = "NO"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ScrollPlugInTests"
BuildableName = "ScrollPlugInTests"
BlueprintName = "ScrollPlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
Expand All @@ -146,62 +34,6 @@
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PlugIns/KeyBoardPlugIn"
BuildableName = "PlugIns/KeyBoardPlugIn"
BlueprintName = "PlugIns/KeyBoardPlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PlugIns/MousePlugIn"
BuildableName = "PlugIns/MousePlugIn"
BlueprintName = "PlugIns/MousePlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PlugIns/ObjectLinkPlugIn"
BuildableName = "PlugIns/ObjectLinkPlugIn"
BlueprintName = "PlugIns/ObjectLinkPlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "PlugIns/ScrollPlugIn"
BuildableName = "PlugIns/ScrollPlugIn"
BlueprintName = "PlugIns/ScrollPlugIn"
ReferencedContainer = "container:">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
Expand All @@ -211,46 +43,6 @@
shouldUseLaunchSchemeArgsEnv = "YES"
shouldAutocreateTestPlan = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "KeyBoardPlugInTests"
BuildableName = "KeyBoardPlugInTests"
BlueprintName = "KeyBoardPlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "MousePlugInTests"
BuildableName = "MousePlugInTests"
BlueprintName = "MousePlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ObjectLinkPlugInTests"
BuildableName = "ObjectLinkPlugInTests"
BlueprintName = "ObjectLinkPlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "ScrollPlugInTests"
BuildableName = "ScrollPlugInTests"
BlueprintName = "ScrollPlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
Expand Down
10 changes: 10 additions & 0 deletions .swiftpm/xcode/xcshareddata/xcschemes/ECS_Swift-Package.xcscheme
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,16 @@
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "TouchPlugInTests"
BuildableName = "TouchPlugInTests"
BlueprintName = "TouchPlugInTests"
ReferencedContainer = "container:">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
Expand Down
Loading