From ddc0db490ec51bd6609dfe27b902501d7a860a80 Mon Sep 17 00:00:00 2001 From: tangxifan Date: Tue, 7 Mar 2023 20:05:53 -0800 Subject: [PATCH] [ci] fixed a bug in build commands --- .github/workflows/build.yml | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f370d1073..613391a3b 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -130,7 +130,8 @@ jobs: - name: Build shell: bash run: | - make all BUILD_TYPE=$BUILD_TYPE + make checkout + make compile BUILD_TYPE=$BUILD_TYPE # Check the cache size and see if it is over the limit - name: Check ccache size @@ -214,7 +215,8 @@ jobs: - name: Build shell: bash run: | - make all BUILD_TYPE=$BUILD_TYPE CMAKE_FLAGS="${{ matrix.config.cmake_flags }}" + make checkout + make compile BUILD_TYPE=$BUILD_TYPE CMAKE_FLAGS="${{ matrix.config.cmake_flags }}" ubuntu_support: needs: change_detect @@ -255,7 +257,8 @@ jobs: - name: Build shell: bash run: | - make all BUILD_TYPE=$BUILD_TYPE + make checkout + make compile BUILD_TYPE=$BUILD_TYPE debug_build: needs: change_detect @@ -303,7 +306,8 @@ jobs: - name: Build shell: bash run: | - make all BUILD_TYPE=${{ matrix.config.build_type }} -j ${{ matrix.config.cores }} + make checkout + make compile BUILD_TYPE=${{ matrix.config.build_type }} -j ${{ matrix.config.cores }} - name: Quick Test shell: bash @@ -354,7 +358,8 @@ jobs: - name: Build shell: bash run: | - make all BUILD_TYPE=${{ matrix.config.build_type }} -j ${{ matrix.config.cores }} CMAKE_FLAGS="-DOPENFPGA_ENABLE_STRICT_COMPILE=ON" + make checkout + make compile BUILD_TYPE=${{ matrix.config.build_type }} -j ${{ matrix.config.cores }} CMAKE_FLAGS="-DOPENFPGA_ENABLE_STRICT_COMPILE=ON" - name: Quick Test shell: bash