Skip to content

bump (again)

bump (again) #899

Workflow file for this run

name: Test that we can build the hello world example form hackage
on:
push:
workflow_dispatch:
jobs:
test:
name: "build ${{ matrix.platform }}${{ matrix.target-platform }}-${{ matrix.compiler-nix-name }}${{ matrix.minimal && '-minimal' || '' }}${{ matrix.iog && '-iog' || '' }}"
strategy:
fail-fast: false
matrix:
platform:
- x86_64-darwin
- x86_64-linux
# Skipping because we do not have runners for these set up.
#- aarch64-darwin
#- aarch64-linux
compiler-nix-name:
- ghc810
- ghc96
- ghc98
- ghc910
- ghc912
target-platform:
- ""
- "-static"
- "-js"
- "-windows"
minimal:
- false
- true
iog:
- false
- true
exclude:
# Just cross compiling javascript with ghc 9.6 and above
- compiler-nix-name: ghc810
target-platform: "-js"
# Windows cross compilation only works on x86_64 right now.
- platform: aarch64-darwin
target-platform: "-windows"
- platform: aarch64-linux
target-platform: "-windows"
# Also broken for darwin.
- platform: x86_64-darwin
target-platform: "-windows"
# It does not makes sense to build minimal image that include IOG extra tooling ...
# ... "-minimal" and "-iog" are mutually exclusive options!
- minimal: true
iog: true
# On darwin the `-js` target require `-minimal` to be set:
- target-platform: "-js"
platform: aarch64-darwin
minimal: false
- target-platform: "-js"
platform: x86_64-darwin
minimal: false
uses: ./.github/workflows/build-and-test.yml

Check failure on line 60 in .github/workflows/hello.yml

View workflow run for this annotation

GitHub Actions / Test that we can build the hello world example form hackage

Invalid workflow file

The workflow is not valid. In .github/workflows/hello.yml (Line: 60, Col: 11): Error from called workflow input-output-hk/devx/.github/workflows/build-and-test.yml@9ec4bc338a99d3cd6e5d228ee51435fd50fc95ba (Line: 115, Col: 13): Unexpected end of expression: ')'. Located at position 148 within expression: inputs.target-platform != '-windows' && (inputs.target-platform != '' || (inputs.platform != 'x86_64-darwin' && inputs.platform != 'aarch64-darwin')
with:
platform: ${{ matrix.platform }}
target-platform: ${{ matrix.target-platform }}
compiler-nix-name: ${{ matrix.compiler-nix-name }}
minimal: ${{ matrix.minimal }}
iog: ${{ matrix.iog }}