Restore conditionals.

This commit is contained in:
Ashton Snelgrove 2021-01-22 10:52:21 -07:00
parent a6b97db314
commit 22144924fc
1 changed files with 3 additions and 3 deletions

View File

@ -39,7 +39,7 @@ jobs:
# Test the compilation compatibility # Test the compilation compatibility
linux_build: linux_build:
needs: change_detect 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 }} name: ${{ matrix.config.name }}
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
container: ghcr.io/lnis-uofu/openfpga-build-${{ matrix.config.cc}} container: ghcr.io/lnis-uofu/openfpga-build-${{ matrix.config.cc}}
@ -157,7 +157,7 @@ jobs:
yosys/yosys-smtbmc yosys/yosys-smtbmc
docker_distribution: docker_distribution:
name: Build docker image for distribution name: Build docker image for distribution
if: true #${{ github.ref == 'refs/heads/master' }} if: ${{ github.ref == 'refs/heads/master' }}
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: linux_build needs: linux_build
steps: steps:
@ -226,7 +226,7 @@ jobs:
run: source .github/workflows/${{matrix.config.script}} run: source .github/workflows/${{matrix.config.script}}
docker_regression_tests: docker_regression_tests:
needs: change_detect 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 name: Regression tests against master artifacts
runs-on: ubuntu-18.04 runs-on: ubuntu-18.04
container: ghcr.io/lnis-uofu/openfpga-master:latest container: ghcr.io/lnis-uofu/openfpga-master:latest