Install binaries
Some checks failed
CI / ci (Release, ubuntu-latest) (pull_request) Failing after 5m7s
CI / ci (Debug, ubuntu-latest) (pull_request) Failing after 16m13s

This commit is contained in:
David Gonzalez Martin 2025-06-21 12:07:06 -06:00
parent aa76d7e081
commit 3aebe4f16d
2 changed files with 44 additions and 45 deletions

View File

@ -19,7 +19,7 @@ jobs:
fail-fast: false
matrix:
os: [ ubuntu-latest ]
BIRTH_CMAKE_BUILD_TYPE: [ Debug, RelWithDebInfo, Release, MinSizeRel ]
BIRTH_CMAKE_BUILD_TYPE: [ Debug, Release ]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
@ -31,6 +31,9 @@ jobs:
CLANG_PATH: clang-19
CLANGXX_PATH: clang++-19
run: |
set -eu
./generate.sh
./build.sh
./build/bb test
mkdir -p $HOME/bloat-buster-artifacts/$GITEA_REF/$GITEA_SHA/$CMAKE_BUILD_TYPE
mv ./self-hosted-bb-cache $HOME/bloat-buster-artifacts/$GITEA_REF/$GITEA_SHA/$CMAKE_BUILD_TYPE/cache

View File

@ -624,10 +624,8 @@ void entry_point(Slice<char* const> arguments, Slice<char* const> envp)
}
}
for (BuildMode compiler_build_mode = BuildMode::debug_none; compiler_build_mode < BuildMode::count; compiler_build_mode = (BuildMode)((backing_type(BuildMode))compiler_build_mode + 1))
{
for (bool compiler_has_debug_info : has_debug_info_array)
{
BuildMode compiler_build_mode = BuildMode::debug_none;
bool compiler_has_debug_info = true;
auto compiler = compile_file(arena, {
.relative_file_path = string_literal("src/compiler.bbb"),
.build_mode = compiler_build_mode,
@ -670,8 +668,6 @@ void entry_point(Slice<char* const> arguments, Slice<char* const> envp)
print(compiler_has_debug_info ? string_literal(" with debug info\n") : string_literal(" with no debug info\n"));
bb_fail();
}
}
}
} break;
case Command::count:
{