|
25 | 25 | container: "{\"image\": \"elopeztob/alpine-haskell-stack-echidna:9.2.7\", \"options\": \"--user 1001\"}" |
26 | 26 | - os: macos-latest |
27 | 27 | shell: bash |
| 28 | + - os: macos-latest-xlarge |
| 29 | + shell: bash |
28 | 30 | - os: windows-latest |
29 | 31 | shell: msys2 {0} |
30 | 32 |
|
|
35 | 37 | steps: |
36 | 38 | - name: Get Packages (macOS) |
37 | 39 | if: runner.os == 'macOS' |
38 | | - run: brew install automake |
| 40 | + run: brew install autoconf automake gmp libtool |
39 | 41 |
|
40 | 42 | - name: Get Packages (Windows) |
41 | 43 | uses: msys2/setup-msys2@v2 |
|
59 | 61 | openssl:p |
60 | 62 |
|
61 | 63 | - name: Install Stack |
62 | | - uses: haskell/actions/setup@v2 |
| 64 | + uses: haskell-actions/setup@v2 |
63 | 65 | id: stack |
64 | 66 | if: matrix.container == '' |
65 | 67 | with: |
|
76 | 78 | path: | |
77 | 79 | ~/.local |
78 | 80 | D:\a\_temp\msys64\home\runneradmin\.local |
79 | | - key: ${{ runner.os }}-local-${{ env.CACHE_VERSION }}-${{ hashFiles('.github/scripts/install-*') }} |
| 81 | + key: ${{ runner.os }}-${{ runner.arch }}-local-${{ env.CACHE_VERSION }}-${{ hashFiles('.github/scripts/install-*') }} |
80 | 82 |
|
81 | 83 | - name: Cache Stack & Cabal |
82 | 84 | uses: actions/cache@v3 |
|
87 | 89 | ${{ steps.stack.outputs.stack-root || '~/.stack' }}/* |
88 | 90 | !${{ steps.stack.outputs.stack-root || '~/.stack' }}/pantry/hackage/*.tar |
89 | 91 | !${{ steps.stack.outputs.stack-root || '~/.stack' }}/pantry/hackage/*.tar.gz |
90 | | - key: ${{ runner.os }}-stack-${{ env.CACHE_VERSION }}-${{ hashFiles('package.yaml', 'stack.yaml') }} |
| 92 | + key: ${{ runner.os }}-${{ runner.arch }}-stack-${{ env.CACHE_VERSION }}-${{ hashFiles('package.yaml', 'stack.yaml') }} |
91 | 93 |
|
92 | 94 | - name: Build Libraries |
93 | 95 | run: | |
@@ -119,7 +121,7 @@ jobs: |
119 | 121 | - name: Upload artifact |
120 | 122 | uses: actions/upload-artifact@v3 |
121 | 123 | with: |
122 | | - name: echidna-${{ runner.os }} |
| 124 | + name: echidna-${{ runner.os }}-${{ runner.arch }} |
123 | 125 | path: echidna.tar.gz |
124 | 126 |
|
125 | 127 | - name: Build and copy test suite |
|
0 commit comments