Skip to content

Commit 5b4b9d3

Browse files
committed
fix github-build.sh
1 parent 8f4cc72 commit 5b4b9d3

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

github-build.sh

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,15 @@
11
#!/bin/bash
22

3+
# Fix ownership of /app
4+
chown -R myuser:myuser /app
5+
6+
# Ensure HOME is set correctly for sdkman
7+
export HOME=/home/myuser
8+
9+
# Source sdkman initialization script
310
source "$HOME/.sdkman/bin/sdkman-init.sh"
411

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

15-
#scala tests
23+
# Scala tests
1624
cd ../PUSCScalaTest || exit 1
1725
dotnet test || exit 1

0 commit comments

Comments
 (0)