36
36
sudo apt-get install -y libpq-dev libpq5 net-tools postgresql
37
37
sudo pg_ctlcluster 14 main start
38
38
39
- - name : Install Postgres support (MacOS )
39
+ - name : Install Postgres support (macOS )
40
40
if : matrix.os == 'macos-latest'
41
41
run : |
42
42
brew install postgres libpq [email protected]
70
70
if : matrix.os == 'ubuntu-latest'
71
71
run : |
72
72
sudo apt-get update
73
- sudo apt-get -y install libsodium23 libsodium-dev
74
- sudo apt-get -y install libsystemd0 libsystemd-dev
73
+ sudo apt-get -y install libsodium23 libsodium-dev libsystemd0 libsystemd-dev
75
74
sudo apt-get -y remove --purge software-properties-common
76
75
sudo apt-get -y autoremove
77
76
81
80
sudo apt-get -y install autoconf automake libtool
82
81
./scripts/secp256k1-setup.sh $SECP256K1_REF
83
82
84
- - name : Install secp256k1 (MacOS )
83
+ - name : Install secp256k1 (macOS )
85
84
if : matrix.os == 'macos-latest'
86
85
run : |
87
86
brew install autoconf automake libtool
91
90
run : cabal update
92
91
93
92
- name : Cabal Configure
94
- run : cabal configure --write-ghc-environment-files=always
93
+ run : cabal configure --enable-tests -- write-ghc-environment-files=always
95
94
96
95
- name : Configure to use libsodium
97
96
run : |
@@ -117,7 +116,7 @@ jobs:
117
116
if : matrix.os == 'ubuntu-latest'
118
117
run : cabal build all --only-dependencies
119
118
120
- - name : Build dependencies OSX
119
+ - name : Build dependencies macOS
121
120
if : matrix.os == 'macos-latest'
122
121
run : |
123
122
PKG_CONFIG_PATH="/usr/local/opt/[email protected] /lib/pkgconfig" cabal build all --only-dependencies
0 commit comments