forked from haskell-github-trust/ekg-core
-
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.
Merge pull request #2 from input-output-hk/js/ci-and-cleanup
Add CI and cleanup
- Loading branch information
Showing
11 changed files
with
102 additions
and
165 deletions.
There are no files selected for viewing
Validating CODEOWNERS rules …
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 @@ | ||
* @input-output-hk/performance-tracing |
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,2 @@ | ||
program-options | ||
ghc-options: -Werror |
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,56 @@ | ||
name: CI | ||
|
||
# Limit concurrent runs of this workflow within a single PR | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
pull_request: | ||
merge_group: | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
ghc: ["8.10.7", "9.2.8", "9.6.3", "9.8.1"] | ||
cabal: ["3.10.2.0"] | ||
os: [ubuntu-latest] | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install base libraries | ||
uses: input-output-hk/actions/base@latest | ||
with: | ||
use-sodium-vrf: false | ||
|
||
- name: Install Haskell | ||
uses: input-output-hk/actions/haskell@latest | ||
id: setup-haskell | ||
with: | ||
ghc-version: ${{ matrix.ghc }} | ||
cabal-version: ${{ matrix.cabal }} | ||
|
||
- name: Configure Cabal | ||
run: | | ||
cp .github/workflows/cabal.project.local . | ||
- name: Update Cabal (Hackage and CHaP) | ||
run: | | ||
cabal clean | ||
cabal update | ||
- name: Build dependencies | ||
id: build-dependencies | ||
run: cabal build --only-dependencies all -j | ||
|
||
- name: Build project | ||
run: cabal build all -j |
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,13 +1,29 @@ | ||
*.hi | ||
# Created by https://www.toptal.com/developers/gitignore/api/haskell | ||
# Edit at https://www.toptal.com/developers/gitignore?templates=haskell | ||
|
||
### Haskell ### | ||
dist | ||
dist-* | ||
cabal-dev | ||
*.o | ||
*.p_hi | ||
*.prof | ||
*.tix | ||
.DS_Store | ||
*.hi | ||
*.hie | ||
*.chi | ||
*.chs.h | ||
*.dyn_o | ||
*.dyn_hi | ||
.hpc | ||
.hsenv | ||
.cabal-sandbox/ | ||
.hpc/ | ||
/dist/* | ||
cabal.config | ||
cabal.sandbox.config | ||
examples/Group | ||
*.sublime-* | ||
*.prof | ||
*.aux | ||
*.hp | ||
*.eventlog | ||
.stack-work/ | ||
cabal.project.local | ||
cabal.project.local~ | ||
.HTF/ | ||
.ghc.environment.* | ||
|
||
# End of https://www.toptal.com/developers/gitignore/api/haskell |
This file was deleted.
Oops, something went wrong.
File renamed without changes.
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,2 +1,3 @@ | ||
# ekg-core [![Hackage version](https://img.shields.io/hackage/v/ekg-core.svg?label=Hackage)](https://hackage.haskell.org/package/ekg-core) [![Build Status](https://secure.travis-ci.org/tibbe/ekg-core.svg?branch=master)](http://travis-ci.org/tibbe/ekg-core) | ||
# ekg-core | ||
|
||
Library for tracking system metrics |
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 @@ | ||
packages: ./ |
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,13 @@ | ||
[scriv] | ||
format = md | ||
insert_marker = Changelog entries | ||
md_header_level = 2 | ||
version = literal: ekg-core.cabal: version | ||
categories = Patch, Non-Breaking, Breaking | ||
end_marker = scriv-end-here | ||
fragment_directory = changelog.d | ||
ghrel_template = {{body}} | ||
main_branches = master, main, develop | ||
new_fragment_template = file: new_fragment.${config:format}.j2 | ||
output_file = CHANGELOG.${config:format} | ||
skip_fragments = README.* |
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