-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
10 changed files
with
475 additions
and
361 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: main arm64 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
call-workflow: | ||
uses: layer-3-communications/.github/.github/workflows/build-haskell.yaml@main | ||
with: | ||
build-arch: arm64 | ||
slack-name: ${{ github.ref_name }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: pull request arm64 | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
call-workflow: | ||
uses: layer-3-communications/.github/.github/workflows/build-haskell.yaml@main | ||
with: | ||
build-arch: arm64 | ||
slack-name: ${{ github.event.pull_request.head.ref }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: main x64 | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
workflow_dispatch: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
call-workflow: | ||
uses: layer-3-communications/.github/.github/workflows/build-haskell.yaml@main | ||
with: | ||
build-arch: x64 | ||
slack-name: ${{ github.ref_name }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
name: pull request x64 | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- "*" | ||
|
||
jobs: | ||
call-workflow: | ||
uses: layer-3-communications/.github/.github/workflows/build-haskell.yaml@main | ||
with: | ||
build-arch: x64 | ||
slack-name: ${{ github.event.pull_request.head.ref }} | ||
secrets: inherit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.vscode/ | ||
dist | ||
dist-* | ||
cabal-dev | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,67 +1,72 @@ | ||
cabal-version: 3.0 | ||
name: http-exchange | ||
version: 0.2.0.0 | ||
synopsis: Perform HTTP Requests | ||
description: Perform HTTP requests. This uses backpack and is agnostic to the backend. | ||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
copyright: 2023 Andrew Martin | ||
category: Data | ||
build-type: Simple | ||
cabal-version: 3.0 | ||
name: http-exchange | ||
version: 0.2.0.0 | ||
synopsis: Perform HTTP Requests | ||
description: | ||
Perform HTTP requests. This uses backpack and is agnostic to the backend. | ||
|
||
license: BSD-3-Clause | ||
license-file: LICENSE | ||
author: Andrew Martin | ||
maintainer: [email protected] | ||
copyright: 2023 Andrew Martin | ||
category: Data | ||
build-type: Simple | ||
extra-doc-files: CHANGELOG.md | ||
|
||
library types | ||
ghc-options: -Wall | ||
exposed-modules: Http.Exchange.Types | ||
ghc-options: -Wall | ||
exposed-modules: Http.Exchange.Types | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11.1 | ||
hs-source-dirs: src-types | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11.1 | ||
|
||
hs-source-dirs: src-types | ||
default-language: GHC2021 | ||
|
||
library testdep | ||
ghc-options: -Wall | ||
exposed-modules: OkChannel | ||
ghc-options: -Wall | ||
exposed-modules: OkChannel | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11 | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11 | ||
, types | ||
hs-source-dirs: src-testdep | ||
|
||
hs-source-dirs: src-testdep | ||
default-language: GHC2021 | ||
|
||
library | ||
signatures: Channel | ||
ghc-options: -Wall | ||
exposed-modules: Exchange | ||
signatures: Channel | ||
ghc-options: -Wall | ||
exposed-modules: Exchange | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, http-interchange >=0.3.1 | ||
, text >= 2.0 | ||
, base >=4.16.3.0 && <5 | ||
, byteslice >=0.2.11 | ||
, bytesmith >=0.3.9 | ||
, http-interchange >=0.3.1 | ||
, primitive >=0.8 | ||
, text >=2.0 | ||
, types | ||
, primitive >=0.8 | ||
, byteslice >=0.2.11 | ||
, bytesmith >=0.3.9 | ||
hs-source-dirs: src | ||
|
||
hs-source-dirs: src | ||
default-language: GHC2021 | ||
|
||
test-suite test | ||
ghc-options: -Wall | ||
ghc-options: -Wall | ||
default-language: GHC2021 | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
type: exitcode-stdio-1.0 | ||
hs-source-dirs: test | ||
main-is: Main.hs | ||
build-depends: | ||
, base >=4.16.3.0 && <5 | ||
, http-interchange >=0.3.1 | ||
, base >=4.16.3.0 && <5 | ||
, byteslice | ||
, bytestring >=0.11 | ||
, http-exchange | ||
, http-interchange >=0.3.1 | ||
, primitive >=0.8 | ||
, tasty >=1.4.3 | ||
, tasty-hunit >=0.10.0.3 | ||
, testdep | ||
, tasty >=1.4.3 | ||
, tasty-hunit >=0.10.0.3 | ||
, byteslice | ||
, bytestring >=0.11 | ||
, primitive >=0.8 | ||
|
||
mixins: | ||
http-exchange (Exchange as OkExchange) | ||
requires (Channel as OkChannel) | ||
http-exchange (Exchange as OkExchange) requires (Channel as OkChannel) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.