INNER CODE UNIT · Python

stage_format

wasm3/wasm3 · extra/check.py:74

def stage_format(args):
    run(["codespell"])
    run([sys.executable, os.path.join("extra", "format.py"), "--check"])


def stage_build(args):
    # Configure on every run rather than only when the cache is missing. These two
    # options are what make the build the one CI makes, and re-running cmake is the only
    # way to correct a tree that was configured without them -- a cache carrying
    # BUILD_WERROR=OFF would otherwise turn the whole point of this stage off silently.
    run(
        [
            "cmake",
            "-S",
            ROOT,
            "-B",
            args.build_dir,
            "-DBUILD_TESTS=ON",

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…