Merge pull request #1030 from lnis-uofu/ci_machine

[ci] now use github machine for debug build and no warnings
This commit is contained in:
tangxifan 2023-02-01 15:50:06 -08:00 committed by GitHub
commit 0633d6ade0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 22 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,12 @@ jobs:
with:
submodules: true
- name: Install dependencies
run: |
sudo bash ./.github/workflows/install_dependencies_build_ubuntu22p04.sh
sudo bash ./.github/workflows/install_dependencies_run_ubuntu22p04.sh
sudo python3 -m pip install -r requirements.txt
- name: Dump tool versions
run: |
cmake --version
@ -312,11 +319,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 +347,12 @@ jobs:
with:
submodules: true
- name: Install dependencies
run: |
sudo bash ./.github/workflows/install_dependencies_build_ubuntu22p04.sh
sudo bash ./.github/workflows/install_dependencies_run_ubuntu22p04.sh
sudo python3 -m pip install -r requirements.txt
- name: Dump tool versions
run: |
cmake --version

View File

@ -0,0 +1,4 @@
apt-get install --no-install-recommends -y \
libdatetime-perl libc6 libffi-dev libgcc1 libreadline8 libstdc++6 \
libtcl8.6 tcl python3-pip zlib1g libbz2-1.0 \
iverilog git rsync make curl wget tree