Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
38 commits
Select commit Hold shift + click to select a range
d17c01d
Add mac to testing CI
samufi Jun 24, 2025
8ca133b
Add ARM to runners, update project pixi
samufi Jun 24, 2025
16b23c5
Update lock file
samufi Jun 24, 2025
0c7fd96
Fix linux ARM version
samufi Jun 24, 2025
34e30a5
Update lock files, fix supported platforms
samufi Jun 24, 2025
a49de79
Do element swapping without implicitly creating a tuple
samufi Jun 24, 2025
229a70f
Remove unneeded code, disable entity removal test temporarily
samufi Jun 24, 2025
4ae408f
Fix temporary test deactivation
samufi Jun 24, 2025
6508320
Fix formatting
samufi Jun 24, 2025
391bd2e
Temporarily disable test to see what happens on the mac
samufi Jun 24, 2025
23da883
Test-wise enable an individual test only
samufi Jun 24, 2025
2f3010b
Update subproject tomls
samufi Jun 24, 2025
0116067
test-wise enable world test
samufi Jun 24, 2025
d7c8f47
Re-enable entity-remove test
samufi Jun 24, 2025
1574911
Test-wise revert change in pool
samufi Jun 24, 2025
8082472
Redo assign without tuple
samufi Jun 24, 2025
99e4c5e
Replace unsafe_get with []
samufi Jun 24, 2025
9fbdad0
Add debug info
samufi Jun 24, 2025
b173bf1
Adjust element initialization and access to InlineArray
samufi Jun 25, 2025
d31a35a
Add bitmask debug message
samufi Jun 25, 2025
874c232
Add further debug messages
samufi Jun 25, 2025
64cff63
Add further debug messages
samufi Jun 25, 2025
4d9f143
Make creation of optional earlier, add debug message
samufi Jun 25, 2025
f3157ec
Add explicit moveinit in StaticOptional
samufi Jun 25, 2025
a829c20
Add debug print statements in move, make copy more efficient
samufi Jun 25, 2025
5f0e589
Do copy, print addresses
samufi Jun 25, 2025
62b2d55
Extend copy and move testing to consider the values, check type in Un…
samufi Jun 26, 2025
17cc7f6
Add further tests
samufi Jun 26, 2025
c688c4a
Revert change in Query
samufi Jun 26, 2025
decda24
Remove address print statements
samufi Jun 26, 2025
b1fa188
Add explicit trait conformance
samufi Jun 27, 2025
20cb6c6
Try alternative print statements and tests
samufi Jun 27, 2025
d6a12bb
Remove register_passable from BitMask
samufi Jun 28, 2025
66178c1
Print another address for debugging
samufi Jun 28, 2025
24547b0
Add further debug messages
samufi Jul 2, 2025
4a02f55
Fix errors in debug messages
samufi Jul 2, 2025
d852180
Fix conversion to string
samufi Jul 3, 2025
18f1127
Update Mojo, use InlineArray as internal storage for StaticOptional
samufi Jul 3, 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
33 changes: 20 additions & 13 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,14 @@ permissions: {}
jobs:
build_and_test:

runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
arch: [x64, arm64]
exclude:
- os: macos-latest
arch: arm64 # macos-latest arm64 is not available on GitHub-hosted runners

defaults:
run:
Expand All @@ -31,18 +38,18 @@ jobs:

- name: Run tests
run: |
pixi run mojo test --validate-doc-strings -D ASSERT=all -I src/ test
pixi run mojo test --validate-doc-strings -D ASSERT=all -I src/ test/world_test.mojo

- name: Check formatting
run: |
if pixi run mojo format src test benchmark 2>&1 | grep -E "reformatted|error|failed" ; then echo "Formatter failed" ; exit 1 ; else echo "Formatting OK"; fi
# - name: Check formatting
# run: |
# if pixi run mojo format src test benchmark 2>&1 | grep -E "reformatted|error|failed" ; then echo "Formatter failed" ; exit 1 ; else echo "Formatting OK"; fi

- name: Run benchmarks
run: |
pixi run mojo -I src/ benchmark/run_benchmarks.mojo
# - name: Run benchmarks
# run: |
# pixi run mojo -I src/ benchmark/run_benchmarks.mojo

- name: Run examples
run: |
cd examples/satellites
pixi install --locked
pixi run mojo -I ../../src/ model.mojo
# - name: Run examples
# run: |
# cd examples/satellites
# pixi install --locked
# pixi run mojo -I ../../src/ model.mojo
16 changes: 10 additions & 6 deletions benchmark/plots/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion benchmark/plots/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["samufi <samufi@web.de>", "Martin Lange <martin_lange_@gmx.net>"]
channels = ["conda-forge", "https://conda.modular.com/max"]
description = "Benchmarking plots for Larecs🌲"
name = "plots"
platforms = ["linux-64"]
platforms = ["linux-64", "osx-arm64", 'linux-aarch64']
version = "0.3.0"

[tasks]
Expand Down
16 changes: 10 additions & 6 deletions examples/satellites/pixi.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion examples/satellites/pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ authors = ["samufi <samufi@web.de>"]
channels = ["conda-forge", "https://conda.modular.com/max"]
description = "Example for the usage of the larecs ECS"
name = "satellites"
platforms = ["linux-64"]
platforms = ["linux-64", "osx-arm64", 'linux-aarch64']
version = "0.3.0"

[tasks]
Expand Down
Loading
Loading