Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable yksom tests in CI #129

Merged
merged 1 commit into from
Oct 23, 2024
Merged
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
86 changes: 43 additions & 43 deletions .buildbot.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,46 +18,46 @@ ENABLE_GC_ASSERTIONS=true /usr/bin/time -v python3 x.py test --stage 2 --config

# Install rustup

# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
# sh rustup.sh --default-host x86_64-unknown-linux-gnu \
# --default-toolchain nightly \
# --no-modify-path \
# --profile minimal \
# -y
# export PATH=`pwd`/.cargo/bin/:$PATH
#
# 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
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs > rustup.sh
sh rustup.sh --default-host x86_64-unknown-linux-gnu \
--default-toolchain nightly \
--no-modify-path \
--profile minimal \
-y
export PATH=`pwd`/.cargo/bin/:$PATH

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