fix: add missing OPTIONS_GHC pragma to suppress orphan warnings #72
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 CI | |
| on: push | |
| jobs: | |
| hadrian-build-build: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: "write" | |
| contents: "read" | |
| # needs: [pre-cleanup] | |
| strategy: | |
| fail-fast: true | |
| matrix: | |
| # You can add multiple configurations here if needed | |
| config: [default] | |
| env: | |
| # GHC_FLAGS: -Werror | |
| # BIGNUM_BACKEND: gmp | |
| BIN_DIST_NAME: ghc-aarch64-linux-deb10-validate | |
| BUILD_FLAVOUR: validate | |
| # CONFIGURE_ARGS: --enable-strict-ghc-toolchain-check | |
| # INSTALL_CONFIGURE_ARGS: --enable-strict-ghc-toolchain-check | |
| TEST_ENV: aarch64-linux-deb10-validate | |
| defaults: | |
| run: | |
| shell: bash | |
| steps: | |
| - uses: wimpysworld/nothing-but-nix@main | |
| with: | |
| hatchet-protocol: 'cleave' | |
| witness-carnage: false # Default: false | |
| root-safe-haven: '54000' | |
| - uses: DeterminateSystems/nix-installer-action@main | |
| # - uses: DeterminateSystems/magic-nix-cache-action@main | |
| # - uses: DeterminateSystems/flake-checker-action@main | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: setup git | |
| run: | | |
| git config user.email "ghc-ci@gitlab-haskell.org" | |
| git config user.name "GHC GitLab CI" | |
| - uses: nicknovitski/nix-develop@main | |
| with: | |
| arguments: "git+https://github.com/soulomoon/ghc.nix#llvm --accept-flake-config" | |
| - name: Hadrian setup | |
| run: | | |
| . .gitlab/ci.sh setup | |
| - name: Hadrian configure | |
| run: . .gitlab/ci.sh configure | |
| - name: CheckSpace | |
| shell: bash | |
| run: df -h | |
| - name: Hadrian build | |
| run: . .gitlab/ci.sh build_hadrian | |
| - name: Hadrian test | |
| run: . .gitlab/ci.sh test_hadrian | |
| - name: Upload config.log | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: config-log | |
| path: _build/stage0/libraries/time/build/config.log | |