Skip to content

Commit

Permalink
fix github-build.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
usr3-1415 committed Dec 14, 2024
1 parent 8f4cc72 commit 5b4b9d3
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion github-build.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
#!/bin/bash

# Fix ownership of /app
chown -R myuser:myuser /app

# Ensure HOME is set correctly for sdkman
export HOME=/home/myuser

# Source sdkman initialization script
source "$HOME/.sdkman/bin/sdkman-init.sh"

# Build and test commands
dotnet build Antlr/
dotnet build parseStg2/
dotnet build "asn1scc.sln"
Expand All @@ -12,6 +20,6 @@ cd v4Tests || exit 1
../regression/bin/Debug/net9.0/regression -l c -ws 8 -s true -p 12 || exit 1
../regression/bin/Debug/net9.0/regression -l Ada -ws 8 -s true -p 12 || exit 1

#scala tests
# Scala tests
cd ../PUSCScalaTest || exit 1
dotnet test || exit 1

0 comments on commit 5b4b9d3

Please sign in to comment.