[ci] fixed a bug in build commands

This commit is contained in:
tangxifan 2023-03-07 20:05:53 -08:00
parent 168f690a31
commit ddc0db490e
1 changed files with 10 additions and 5 deletions

View File

@ -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