Enable aarch64-linux build job #916
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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-linux | ||
| # Disabled until macOS hydra builders are back online. | ||
| #- x86_64-darwin | ||
| # Skipping because we do not have runners for these set up. | ||
| #- aarch64-darwin | ||
| #- aarch64-linux | ||
| compiler-nix-name: | ||
| - ghc96 | ||
| - ghc98 | ||
| - ghc910 | ||
| - ghc912 | ||
| target-platform: | ||
| - "" | ||
| - "-static" | ||
| - "-js" | ||
| - "-windows" | ||
| minimal: | ||
| - false | ||
| - true | ||
| iog: | ||
| - false | ||
| - true | ||
| exclude: | ||
| # 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 57 in .github/workflows/hello.yml
|
||
| with: | ||
| platform: ${{ matrix.platform }} | ||
| target-platform: ${{ matrix.target-platform }} | ||
| compiler-nix-name: ${{ matrix.compiler-nix-name }} | ||
| minimal: ${{ matrix.minimal }} | ||
| iog: ${{ matrix.iog }} | ||