Skip to content

Commit 9df3d16

Browse files
committed
Add groups to build
1 parent f5259f8 commit 9df3d16

1 file changed

Lines changed: 16 additions & 1 deletion

File tree

tools/build.sh

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,47 +11,62 @@ if [[ -n "$EXE_SUFFIX" ]]; then
1111
fi
1212

1313
# Update
14+
echo "::group::Update submodules"
1415
git submodule update --init --recursive --depth 1 --jobs 4
16+
echo "::endgroup::"
1517

1618
mkdir -p exe
1719

1820
# VRF
21+
echo "::group::Build VRF"
1922
cd ValveResourceFormat
2023
#dotnet clean --configuration Release CLI/CLI.csproj
2124
dotnet publish --configuration Release -p:PublishSingleFile=true --self-contained --output ../exe/Source2Viewer/ --runtime "$DOTNET_RUNTIME" -p:DefineConstants=VRF_NO_GENERATOR_VERSION CLI/CLI.csproj
25+
echo "::endgroup::"
2226

2327
# SteamFileDownloader
28+
echo "::group::Build SteamFileDownloader"
2429
cd ../SteamFileDownloader
2530
dotnet publish --configuration Release -p:PublishSingleFile=true --self-contained --output ../exe/SteamFileDownloader/ --runtime "$DOTNET_RUNTIME" SteamFileDownloader.csproj
31+
echo "::endgroup::"
2632

2733
# ProtobufDumper
34+
echo "::group::Build ProtobufDumper"
2835
cd ../SteamKit
2936
#dotnet clean --configuration Release Resources/ProtobufDumper/ProtobufDumper/ProtobufDumper.csproj
3037
dotnet publish --configuration Release -p:PublishSingleFile=true --self-contained --output ../exe/ProtobufDumper/ --runtime "$DOTNET_RUNTIME" Resources/ProtobufDumper/ProtobufDumper/ProtobufDumper.csproj
38+
echo "::endgroup::"
3139

3240
# Strings
41+
echo "::group::Build DumpStrings"
3342
cd ../DumpStrings
3443
go build -buildvcs=false -o "../exe/DumpStrings${EXE_SUFFIX}"
44+
echo "::endgroup::"
3545

3646
# Fix Encoding
47+
echo "::group::Build FixEncoding"
3748
cd ../FixEncoding
3849
go build -buildvcs=false -o "../exe/FixEncoding${EXE_SUFFIX}"
50+
echo "::endgroup::"
3951

4052
# Dumper
53+
echo "::group::Build DumpSource2"
4154
cd ../DumpSource2
4255
#[[ -d build ]] && rm -r build
4356
mkdir -p build
4457
cmake -B build -S .
4558
cmake --build build --parallel 4 --config Release
59+
echo "::endgroup::"
4660

4761
# Verify
48-
echo Checking that the executables work
62+
echo "::group::Verify executables"
4963
cd ../
5064

5165
"$STEAM_FILE_DOWNLOADER_PATH" --version
5266
"$VRF_PATH" --version
5367
"$PROTOBUF_DUMPER_PATH" -v
5468
"$DUMP_STRINGS_PATH"
5569
"$FIX_ENCODING_PATH"
70+
echo "::endgroup::"
5671

5772
echo "Done."

0 commit comments

Comments
 (0)