Skip to content

Commit

Permalink
Performance adjustments (#3)
Browse files Browse the repository at this point in the history
* Tightening down radix tree loop arguments.

* Removing CircleCI configuration file, cutting down the Github Actions one, adding GHC 9.10 to the CI matrix.

* v1.0.0.1 bump.
  • Loading branch information
BurningWitness authored May 19, 2024
1 parent e60f937 commit f89f3dc
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 216 deletions.
71 changes: 0 additions & 71 deletions .circleci/config.yml

This file was deleted.

32 changes: 8 additions & 24 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,11 @@ jobs:
name: GHC ${{ matrix.ghc }} on ${{ matrix.os }}
runs-on: ${{ matrix.os }}

# https://github.com/orgs/community/discussions/57827
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name

strategy:
fail-fast: false
matrix:
Expand All @@ -22,11 +27,7 @@ jobs:
- "9.4"
- "9.6"
- "9.8"
include:
- os: macOS-latest
ghc: "9.8"
- os: windows-latest
ghc: "9.8"
- "9.10"

steps:

Expand All @@ -49,24 +50,7 @@ jobs:
run: |
cabal --version
- name: Unpack
run: |
cabal sdist --ignore-project --output-directory ..
cd ..
cabal get radix-tree-*.tar.gz
- name: Build & Test
run: |
cd ../radix-tree-*/
cabal build all --enable-tests
cabal test --enable-tests --test-show-details=direct all
- name: Haddock
run: |
cd ../radix-tree-*/
cabal haddock all
- name: Cabal check
run: |
cd ../radix-tree-*/
cabal check
cabal build --enable-tests
cabal test --enable-tests --test-show-details=direct properties
2 changes: 1 addition & 1 deletion radix-tree.cabal
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: radix-tree
version: 1.0.0.0
version: 1.0.0.1

category: Data Structures
synopsis: Radix trees
Expand Down
Loading

0 comments on commit f89f3dc

Please sign in to comment.