Skip to content

Commit

Permalink
Merge pull request #107 from jacob-hughes/yksom_on_ci
Browse files Browse the repository at this point in the history
Test yksom and grmtools as part of CI
  • Loading branch information
ltratt authored Jan 18, 2024
2 parents 31c3146 + 0fc83fc commit 4b1b811
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .buildbot.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,38 @@ ulimit -d $((1024 * 1024 * 8)) # 8 GiB

ENABLE_GC_ASSERTIONS=true /usr/bin/time -v python3 x.py test --stage 2 --config .buildbot.config.toml --exclude rustdoc-json --exclude debuginfo

rustup toolchain link alloy build/x86_64-unknown-linux-gnu/stage1

# Build and test yksom
git clone --recursive https://github.com/softdevteam/yksom
cd yksom

# Annoying hack needed in order to build a non-workspace crate inside alloy.
echo "[workspace]" >> Cargo.toml

cargo +alloy test
cargo +alloy test --release

cargo +alloy run -- --cp SOM/Smalltalk SOM/TestSuite/TestHarness.som
cargo +alloy run --release -- --cp SOM/Smalltalk SOM/TestSuite/TestHarness.som

cargo +alloy run --release -- --cp SOM/Smalltalk:lang_tests hello_world1

cd SOM
cargo +alloy run --release -- \
--cp Smalltalk:TestSuite:SomSom/src/compiler:SomSom/src/vm:SomSom/src/vmobjects:SomSom/src/interpreter:SomSom/src/primitives \
SomSom/tests/SomSomTests.som
cargo +alloy run --release -- \
--cp Smalltalk:Examples/Benchmarks/GraphSearch \
Examples/Benchmarks/BenchmarkHarness.som GraphSearch 10 4

# Build and test grmtools
cd ../
git clone https://github.com/softdevteam/grmtools
cd grmtools

cargo +alloy test
cargo +alloy test --release

cargo +alloy test --lib cfgrammar --features serde
cargo +alloy test --lib lrpar --features serde

0 comments on commit 4b1b811

Please sign in to comment.