From c6b5a4ad03c054d1d3b7725ec5d03f6136d141f7 Mon Sep 17 00:00:00 2001 From: Aymeric Wibo Date: Tue, 5 Nov 2024 23:50:30 +0100 Subject: [PATCH] bootstrap: Use `bootstrap.sh` instead of `build.sh` --- .cirrus.yml | 8 ++++---- .github/workflows/lint.yml | 2 +- .github/workflows/tests.yml | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.cirrus.yml b/.cirrus.yml index 567b006c..2e0a4f44 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -4,8 +4,8 @@ task: image: gcc:latest env: ASAN_OPTIONS: detect_leaks=0 - build_script: - - sh build.sh + bootstrap_script: + - sh boostrap.sh test_build_bob_with_bob_script: - $(realpath .bootstrap/bob) build test_run_bob_with_bob_script: @@ -26,8 +26,8 @@ task: image: gcc:latest env: ASAN_OPTIONS: detect_leaks=0 - build_script: - - sh build.sh + bootstrap_script: + - sh boostrap.sh test_build_bob_with_bob_script: - $(realpath .bootstrap/bob) build test_run_bob_with_bob_script: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 23f51aa5..ce1a5b33 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,7 +17,7 @@ jobs: - name: Get all source files run: echo "SRC=$(find src -name "*.[ch]" -print0 -o -path src/flamingo -prune -type f | xargs -0 echo)" >> $GITHUB_ENV - name: Build (with LSP output) - run: intercept-build-15 sh build.sh + run: intercept-build-15 sh bootstrap.sh - name: Run clang-tidy run: clang-tidy $SRC - name: Make sure 'mkdir_wrapped' is used everywhere (except for once for 'fsutils.c') diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 79dc4995..ef3bc132 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -14,8 +14,8 @@ jobs: with: version: latest platform: x64 - - name: Build - run: sh build.sh + - name: Bootstrap + run: sh bootstrap.sh - name: Test building Bob using Bob run: .bootstrap/bob build - name: Test running the version of Bob built with Bob