Skip to content

Commit

Permalink
Use cardano-api from CHaP
Browse files Browse the repository at this point in the history
  • Loading branch information
newhoggy committed May 29, 2023
1 parent 9a797ec commit eb3b0b1
Show file tree
Hide file tree
Showing 363 changed files with 10 additions and 28,937 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/haskell-linux.yml
Expand Up @@ -147,6 +147,12 @@ jobs:
skip: "${{ vars.BINARY_CACHE_URI != '' }}"
enable-save: false

- name: Build core components
run: |
# The tests call out to msys2 commands. We generally do not want to mix toolchains, so
# we are very deliberate about only adding msys64 to the path where absolutely necessary.
${{ (runner.os == 'Windows' && '$env:PATH=("C:\msys64\mingw64\bin;{0}" -f $env:PATH)') || '' }}
cabal build cardano-node cardano-cli cardano-node-chairman cardano-submit-api
- name: Build remaining components
run: cabal build all
Expand All @@ -156,7 +162,7 @@ jobs:
TMPDIR: ${{ runner.temp }}
TMP: ${{ runner.temp }}
KEEP_WORKSPACE: 1
run: cabal test cardano-testnet cardano-node cardano-node-chairman cardano-cli cardano-submit-api
run: cabal test cardano-testnet cardano-node cardano-node-chairman cardano-submit-api

- name: Tar failed tests workspaces
if: ${{ failure() }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/haskell.yml
Expand Up @@ -167,7 +167,7 @@ jobs:
# The tests call out to msys2 commands. We generally do not want to mix toolchains, so
# we are very deliberate about only adding msys64 to the path where absolutely necessary.
${{ (runner.os == 'Windows' && '$env:PATH=("C:\msys64\mingw64\bin;{0}" -f $env:PATH)') || '' }}
cabal build cardano-node cardano-cli cardano-node-chairman cardano-submit-api -j1
cabal build cardano-node cardano-cli cardano-node-chairman cardano-submit-api
- name: Build remaining components
run: |
Expand All @@ -185,7 +185,7 @@ jobs:
# The tests call out to msys2 commands. We generally do not want to mix toolchains, so
# we are very deliberate about only adding msys64 to the path where absolutely necessary.
${{ (runner.os == 'Windows' && '$env:PATH=("C:\msys64\mingw64\bin;{0}" -f $env:PATH)') || '' }}
cabal test cardano-testnet cardano-node cardano-node-chairman cardano-cli cardano-submit-api
cabal test cardano-testnet cardano-node cardano-node-chairman cardano-submit-api
- name: Tar failed tests workspaces
if: ${{ failure() }}
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/stylish-haskell.yml
Expand Up @@ -42,7 +42,6 @@ jobs:
cardano-node-capi
trace-dispatcher
trace-forward
cardano-cli
cardano-submit-api
steps:
Expand Down
6 changes: 1 addition & 5 deletions cabal.project
Expand Up @@ -14,10 +14,9 @@ repository cardano-haskell-packages
-- you need to run if you change them
index-state:
, hackage.haskell.org 2023-05-10T10:34:57Z
, cardano-haskell-packages 2023-05-25T10:00:00Z
, cardano-haskell-packages 2023-05-29T01:40:13Z

packages:
cardano-cli
cardano-client-demo
cardano-git-rev
cardano-node
Expand All @@ -37,9 +36,6 @@ packages:
package cardano-api
ghc-options: -Werror

package cardano-cli
ghc-options: -Werror

package cardano-client-demo
ghc-options: -Werror

Expand Down

0 comments on commit eb3b0b1

Please sign in to comment.