diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5ff1d08bc..9e293a2a9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -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 diff --git a/.github/workflows/install_dependencies_run_ubuntu22p04.sh b/.github/workflows/install_dependencies_run_ubuntu22p04.sh new file mode 100644 index 000000000..a9973d0c8 --- /dev/null +++ b/.github/workflows/install_dependencies_run_ubuntu22p04.sh @@ -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