Skip to content

Commit

Permalink
Update haskell.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
angerman committed May 7, 2024
1 parent fa7630b commit bab1472
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions .github/workflows/haskell.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
strategy:
fail-fast: false
matrix:
platform: [ x86_64-linux, x86_64-darwin ]
platform: [ x86_64-linux, x86_64-darwin, aarch64-darwin ]
compiler-nix-name: [ ghc96, ghc98 ] # , ghc810 ]

env:
Expand Down Expand Up @@ -73,11 +73,7 @@ jobs:
run: cabal update

- name: Configure build
run: |
echo "${{ runner.temp }}"
echo "$TMPDIR"
echo "$TMP"
run: |
cp .github/workflows/cabal.project.local.ci cabal.project.local
echo "# cabal.project.local"
cat cabal.project.local
Expand Down Expand Up @@ -128,19 +124,12 @@ jobs:
- name: Build all
run: cabal build all --enable-tests

- name: Hack around TMP paths
run: |
mkdir -p /home/runner/_
- name: Run tests
env:
TMPDIR: /home/runner/_
TMP: /home/runner/_
KEEP_WORKSPACE: 1
run: |
echo "${{ runner.temp }}"
echo "$TMPDIR"
echo "$TMP"
export TMPDIR="${{ runner.temp }}"
export TMP="${{ runner.temp }}"
cabal test cardano-testnet cardano-node cardano-node-chairman cardano-submit-api
- name: Tar failed tests workspaces
Expand Down

0 comments on commit bab1472

Please sign in to comment.