From cdb799c59f500543bb923cedc48b6848e5579e5f Mon Sep 17 00:00:00 2001 From: Ashton Snelgrove Date: Mon, 25 Jan 2021 10:12:49 -0700 Subject: [PATCH] Reenable branch checks. --- .github/workflows/build.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index f59b4554f..e06bc5fae 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,7 +17,6 @@ env: # Multiple job to tests jobs: change_detect: - if: false name: "Detect code changes" runs-on: ubuntu-18.04 outputs: @@ -40,7 +39,7 @@ jobs: # Test the compilation compatibility linux_build: needs: change_detect - if: true #${{ fromJSON(needs.change_detect.outputs.source_modified) || github.ref == 'refs/heads/master' }} + if: ${{ fromJSON(needs.change_detect.outputs.source_modified) || github.ref == 'refs/heads/master' }} name: ${{ matrix.config.name }} runs-on: ubuntu-18.04 container: ghcr.io/lnis-uofu/openfpga-build-${{ matrix.config.cc}} @@ -158,7 +157,7 @@ jobs: yosys/yosys-smtbmc docker_distribution: name: Build docker image for distribution - if: true #${{ github.ref == 'refs/heads/master' }} + if: ${{ github.ref == 'refs/heads/master' }} runs-on: ubuntu-latest needs: linux_build steps: @@ -229,7 +228,7 @@ jobs: env: OPENFPGA_PATH: /__w/OpenFPGA/OpenFPGA needs: change_detect - if: false #${{ !fromJSON(needs.change_detect.outputs.source_modified) }} + if: ${{ !fromJSON(needs.change_detect.outputs.source_modified) }} name: Regression tests against master artifacts runs-on: ubuntu-18.04 container: ghcr.io/lnis-uofu/openfpga-master:latest