[ci] now use github machine for debug build and no warnings

This commit is contained in:
tangxifan 2023-02-01 11:06:44 -08:00
parent 2a1424c26c
commit a8906cac3e
1 changed files with 12 additions and 6 deletions

View File

@ -264,11 +264,12 @@ jobs:
make all BUILD_TYPE=$BUILD_TYPE
debug_build:
# Prevents from running on forks where no custom runners are available
needs: change_detect
if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }} && ${{ github.repository_owner == 'lnis-uofu' }}
if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }}
# Prevents from running on forks where no custom runners are available
#if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }} && ${{ github.repository_owner == 'lnis-uofu' }}
name: ${{ matrix.config.name }}
runs-on: [self-hosted, Linux, X64, eda_xt]
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@ -293,6 +294,9 @@ jobs:
with:
submodules: true
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build_ubuntu22p04.sh
- name: Dump tool versions
run: |
cmake --version
@ -312,11 +316,10 @@ jobs:
source openfpga.sh && run-task compilation_verification --debug --show_thread_logs
no_warning_build:
# Prevents from running on forks where no custom runners are available
needs: change_detect
if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }} && ${{ github.repository_owner == 'lnis-uofu' }}
if: ${{ fromJSON(needs.change_detect.outputs.source_modified) }}
name: ${{ matrix.config.name }}
runs-on: [self-hosted, Linux, X64, eda_xt]
runs-on: ubuntu-22.04
strategy:
fail-fast: false
matrix:
@ -341,6 +344,9 @@ jobs:
with:
submodules: true
- name: Install dependencies
run: sudo bash ./.github/workflows/install_dependencies_build_ubuntu22p04.sh
- name: Dump tool versions
run: |
cmake --version