File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change 3737 steps :
3838 - name : Get Packages (macOS)
3939 if : runner.os == 'macOS'
40- run : brew install autoconf automake gmp libtool
40+ run : brew install autoconf automake libtool
4141
4242 - name : Get Packages (Windows)
4343 uses : msys2/setup-msys2@v2
@@ -100,11 +100,15 @@ jobs:
100100
101101 - name : Build Dependencies
102102 run : |
103- stack build --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib --only-dependencies
103+ stack build --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib --only-dependencies $EXTRA_ARGS
104+ env :
105+ EXTRA_ARGS : ${{ (runner.arch == 'ARM64' && '--extra-include-dirs=/opt/homebrew/include --extra-lib-dirs=/opt/homebrew/lib') || '' }}
104106
105107 - name : Build and install echidna
106108 run : |
107- stack install --flag echidna:static --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib
109+ stack install --flag echidna:static --ghc-options="-Werror" --extra-include-dirs=$HOME/.local/include --extra-lib-dirs=$HOME/.local/lib $EXTRA_ARGS
110+ env :
111+ EXTRA_ARGS : ${{ (runner.arch == 'ARM64' && '--extra-include-dirs=/opt/homebrew/include --extra-lib-dirs=/opt/homebrew/lib') || '' }}
108112
109113 - name : Amend and compress binaries (macOS)
110114 if : runner.os == 'macOS'
You can’t perform that action at this time.
0 commit comments