Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
258 commits
Select commit Hold shift + click to select a range
9397d3a
Trying to verify issue with flips. (#677)
lemire Nov 3, 2023
443fd30
AdvanceIfNeeded on bitmap container optimized (#665)
Nov 3, 2023
2848234
real iand between run and array container (#668)
Nov 3, 2023
53ba593
Avoid computing cardinality for run container (#685)
Nov 17, 2023
9fde8c5
Use isEmpty() on bitmap instead of getCardinality() > 0 (#684)
Nov 17, 2023
c79d0d6
Methods for replacing children for Node various type optimized (#675)
Nov 17, 2023
9af100d
retired getContainer() removed (#678)
Nov 17, 2023
16fee43
variable is set to the same value as it has (#679)
Nov 17, 2023
abdd6ff
Make faster removal of top values (#680)
Nov 17, 2023
8dd4a5e
avoid ior() with full container (#681)
Nov 17, 2023
ed2c88f
unit test to expose batchiterator.advanceIfNeeded bug and fix (#689)
ashishkf Dec 13, 2023
975ee28
[Gradle Release Plugin] - pre tag commit: '1.0.1'.
lemire Dec 14, 2023
88e3c71
[Gradle Release Plugin] - new version commit: '1.0.2-SNAPSHOT'.
lemire Dec 14, 2023
1ed0242
Fix roaringbitmap - batchiterator's advanceIfNeeded to handle run len…
ashishkf Dec 15, 2023
16bb831
retired getContainer() removed (#708)
Jan 27, 2024
a8c6c4a
Code deduplication in operations over array containers when conversio…
Jan 27, 2024
fc882a8
Avoid repeated counting cardinality within call to addDigit() on bitm…
Jan 27, 2024
9d7d35e
Addition status check using contains (#694)
Jan 27, 2024
492061d
Selection of top largest values in BSI optimized (#695)
Jan 27, 2024
ac6a98d
AddOffset() optimization for array containers (#696)
Jan 27, 2024
6d5dcff
avoid one negation (#697)
Jan 27, 2024
c509d69
integer overflow (#698)
Jan 27, 2024
e7bfb1b
bitwise and instead of conditional (#699)
Jan 27, 2024
769241f
Creation of range mask simplified (#700)
Jan 27, 2024
87a0309
Avoid array reallocation (#701)
Jan 27, 2024
7270c92
Select from both sides (#703)
Jan 27, 2024
8b386e9
code for skipping containers deduplicated (#704)
Jan 27, 2024
116cc65
fillArray() deduplicated, some its part removed as being dead code (#…
Jan 28, 2024
a81f12c
Avoid useless computation in oNeilCompare() (#702)
Jan 28, 2024
2786fbb
Optimized check for value presence in run container (#705)
Jan 28, 2024
028f3a5
Optimized creation of bitmap by range (#686)
Jan 28, 2024
13d6566
fix RangeBitmap#between bug in full section after empty section (#710)
richardstartin Mar 8, 2024
4ecd5a5
[Gradle Release Plugin] - pre tag commit: '1.0.2'.
lemire Mar 8, 2024
1489cce
[Gradle Release Plugin] - new version commit: '1.0.3-SNAPSHOT'.
lemire Mar 8, 2024
49322dc
[Gradle Release Plugin] - pre tag commit: '1.0.3'.
lemire Mar 8, 2024
22496b5
[Gradle Release Plugin] - new version commit: '1.0.4-SNAPSHOT'.
lemire Mar 8, 2024
c4ac887
[Gradle Release Plugin] - pre tag commit: '1.0.4'.
lemire Mar 8, 2024
a738df1
[Gradle Release Plugin] - new version commit: '1.0.5-SNAPSHOT'.
lemire Mar 8, 2024
92f79b6
[Gradle Release Plugin] - pre tag commit: '1.0.5'.
lemire Mar 8, 2024
78da63a
[Gradle Release Plugin] - new version commit: '1.0.6-SNAPSHOT'.
lemire Mar 8, 2024
dda04be
Implement BatchIterator's promise to fill the input buffer, when poss…
smmathews-cision-us Mar 19, 2024
01fad43
RoaringBitmap to BitSet/long[]/byte[] (#713)
DanielThomas Mar 29, 2024
9079e41
Avoid getCardinality in RunContainer.toBitmapContainer (#715)
DanielThomas Apr 17, 2024
91ff377
Update README.md
lemire Apr 18, 2024
0905e73
add Java 21 to CI, as one of four LTS versions still being supported …
smmathews-cision-us Apr 19, 2024
bea55d4
Avoid intermediate arrays for other container types (#716)
DanielThomas Apr 19, 2024
0735196
Fix for or:ing two RunContainers that produce an undersized BitmapCon…
larsk-db Apr 19, 2024
5235aa6
[Gradle Release Plugin] - pre tag commit: '1.0.6'.
lemire Apr 19, 2024
939748f
[Gradle Release Plugin] - new version commit: '1.0.7-SNAPSHOT'.
lemire Apr 19, 2024
c112860
fix: formalize edge behaviour for nextAbsentValue and previousAbsentV…
lemire Jun 7, 2024
1176953
Fix RunContainer#contains(BitmapContainer) (#721) (#722)
LeeWorrall Jun 17, 2024
70866e2
Fix ArrayContainer#contains(RunContainer) (#723) (#724)
LeeWorrall Jun 17, 2024
e1f128f
[feature] Add a BitSet implementation based on RoaringBitmap (#725)
dao-jun Jun 18, 2024
45d9c57
Move instance field to static, everywhere (#726)
lemire Jun 18, 2024
4e59f08
bump GitHub Actions (#711)
sullis Jun 18, 2024
2622d23
chore: bump minor version
lemire Jun 18, 2024
35bb106
[Gradle Release Plugin] - pre tag commit: '1.1.0'.
lemire Jun 18, 2024
48f5fa9
[Gradle Release Plugin] - new version commit: '1.1.1-SNAPSHOT'.
lemire Jun 18, 2024
75a97ad
improve: Optimize RoaringBitSet.get(int fromIndex, int toIndex) (#727)
lhotari Jun 20, 2024
3a84161
fix: add bitmapOfRange (non-static) (#728)
lemire Jun 20, 2024
8d4155d
version bump
lemire Jun 20, 2024
b7b1ded
[Gradle Release Plugin] - pre tag commit: '1.2.0'.
lemire Jun 20, 2024
799365f
[Gradle Release Plugin] - new version commit: '1.2.1-SNAPSHOT'.
lemire Jun 20, 2024
24790bc
add getSignedIntIterator to roaring bitmaps (#729)
smmathews-cision-us Jun 24, 2024
88292e0
fix hasNext behaviour for BitmapBatchIterator (#732)
shikharid Jul 1, 2024
08b1e41
Fix advanceIfNeeded in signed int iterators and simplify finding star…
zoltanmeze Jul 8, 2024
9a862d5
Fix previousValue not returning correct results in some cases (#736)
zoltanmeze Jul 8, 2024
3dbd2be
fix: add a few additional small tests (#737)
lemire Jul 8, 2024
79f1deb
Skip over empty words in RunContainer#contains(BitmapContainer) (#739)
zoltanmeze Jul 16, 2024
71ba146
Implement signed first/last methods (#738)
zoltanmeze Jul 16, 2024
a6cc3da
[Gradle Release Plugin] - pre tag commit: '1.2.1'.
lemire Jul 16, 2024
d2c6c3b
[Gradle Release Plugin] - new version commit: '1.2.2-SNAPSHOT'.
lemire Jul 16, 2024
81c4e34
Add BSI based on Roaring64Bitmap (#733)
iszhangpch Aug 21, 2024
8241bd7
[no-ci] Update README.md
lemire Sep 9, 2024
d74b6ba
Changes for adding container size (#742)
anandheritage Sep 17, 2024
e065c20
[Gradle Release Plugin] - pre tag commit: '1.2.2'.
lemire Sep 17, 2024
42e8183
[Gradle Release Plugin] - new version commit: '1.2.3-SNAPSHOT'.
lemire Sep 17, 2024
31a98c5
[Gradle Release Plugin] - pre tag commit: '1.2.3'.
lemire Sep 17, 2024
abc1146
[Gradle Release Plugin] - new version commit: '1.2.4-SNAPSHOT'.
lemire Sep 17, 2024
d660709
bump
lemire Sep 17, 2024
bd39207
[Gradle Release Plugin] - pre tag commit: '1.3.0'.
lemire Sep 17, 2024
10d0e15
[Gradle Release Plugin] - new version commit: '1.3.1-SNAPSHOT'.
lemire Sep 17, 2024
637edeb
Merging bitmap keys deduplicated (#706)
Sep 17, 2024
933b441
Fix an issue that may cause RoaringBSI's fountSet to not work (#740)
iszhangpch Sep 18, 2024
11f3bef
Update README.md - add Apache Pulsar to users of the library (#744)
lhotari Sep 27, 2024
966c40e
fix for issue 745 (#746)
lemire Oct 22, 2024
dd94f8f
fix issue 743 (#747)
lemire Oct 22, 2024
3dd262d
setting up automatic release in CI
lemire Oct 22, 2024
3ec50b6
let us drop to automatic sonatype
lemire Oct 22, 2024
ab60b4a
[Gradle Release Plugin] - pre tag commit: '1.3.1'.
lemire Oct 22, 2024
71662df
[Gradle Release Plugin] - new version commit: '1.3.2-SNAPSHOT'.
lemire Oct 22, 2024
9a1d0cd
removing bad release script
lemire Oct 22, 2024
df04c3d
trying to restore release
lemire Oct 22, 2024
f462fec
adding github pack.
lemire Oct 22, 2024
ff0a931
adding release script
lemire Oct 22, 2024
2e63395
[Gradle Release Plugin] - pre tag commit: '1.3.2'.
lemire Oct 22, 2024
39a0ae7
[Gradle Release Plugin] - new version commit: '1.3.3-SNAPSHOT'.
lemire Oct 22, 2024
550e4cf
reverting to java 11
lemire Oct 22, 2024
35f5d08
[Gradle Release Plugin] - pre tag commit: '1.3.3'.
lemire Oct 22, 2024
d39a022
[Gradle Release Plugin] - new version commit: '1.3.4-SNAPSHOT'.
lemire Oct 22, 2024
ee35004
further simplification
lemire Oct 22, 2024
755dced
removing more
lemire Oct 22, 2024
d9ae252
more
lemire Oct 22, 2024
d697ece
[Gradle Release Plugin] - pre tag commit: '1.3.4'.
lemire Oct 22, 2024
7db92f6
[Gradle Release Plugin] - new version commit: '1.3.5-SNAPSHOT'.
lemire Oct 22, 2024
db0fe41
trying again
lemire Oct 22, 2024
d92e8ca
java is a mess
lemire Oct 22, 2024
7f22731
[Gradle Release Plugin] - pre tag commit: '1.3.5'.
lemire Oct 22, 2024
ca2bc0a
[Gradle Release Plugin] - new version commit: '1.3.6-SNAPSHOT'.
lemire Oct 22, 2024
ac86c5f
Update releases.yml
lemire Oct 22, 2024
de3ecb8
Update README.md
lemire Oct 22, 2024
7438b5d
tweak
lemire Oct 22, 2024
6d851fb
[Gradle Release Plugin] - pre tag commit: '1.3.6'.
lemire Oct 22, 2024
45dd59e
[Gradle Release Plugin] - new version commit: '1.3.7-SNAPSHOT'.
lemire Oct 22, 2024
a4d37c8
Update releases.yml
lemire Oct 22, 2024
8a1e6e8
Update releases.yml
lemire Oct 22, 2024
00fcd5f
Update HighLowContainer.java
lemire Oct 23, 2024
282265d
Update README.md
lemire Oct 23, 2024
0b1dcca
some tweaks
lemire Oct 23, 2024
30bf4f2
Merge branch 'master' of github.com:RoaringBitmap/RoaringBitmap
lemire Oct 23, 2024
133f751
trying again
lemire Oct 23, 2024
c3b8caa
[Gradle Release Plugin] - pre tag commit: '1.3.7'.
lemire Oct 23, 2024
ad56e5d
[Gradle Release Plugin] - new version commit: '1.3.8-SNAPSHOT'.
lemire Oct 23, 2024
ddc2ba9
trying to debug
lemire Oct 23, 2024
3a3d6fd
[Gradle Release Plugin] - pre tag commit: '1.3.8'.
lemire Oct 23, 2024
092a645
[Gradle Release Plugin] - new version commit: '1.3.9-SNAPSHOT'.
lemire Oct 23, 2024
7974816
again
lemire Oct 23, 2024
86ea2d9
[Gradle Release Plugin] - pre tag commit: '1.3.9'.
lemire Oct 23, 2024
e12cd71
[Gradle Release Plugin] - new version commit: '1.3.10-SNAPSHOT'.
lemire Oct 23, 2024
c738c07
removing style...
lemire Oct 23, 2024
4446cba
pruning
lemire Oct 23, 2024
9d527a5
[Gradle Release Plugin] - pre tag commit: '1.3.10'.
lemire Oct 23, 2024
e7add4f
[Gradle Release Plugin] - new version commit: '1.3.11-SNAPSHOT'.
lemire Oct 23, 2024
2d80e39
putting back repo
lemire Oct 23, 2024
e7b82b6
[Gradle Release Plugin] - pre tag commit: '1.3.11'.
lemire Oct 23, 2024
a8bda2b
[Gradle Release Plugin] - new version commit: '1.3.12-SNAPSHOT'.
lemire Oct 23, 2024
85861ab
must be lower case
lemire Oct 23, 2024
1ce8ea5
[Gradle Release Plugin] - pre tag commit: '1.3.12'.
lemire Oct 23, 2024
28b863e
[Gradle Release Plugin] - new version commit: '1.3.13-SNAPSHOT'.
lemire Oct 23, 2024
fae8af7
adding maven pom instructions
lemire Oct 24, 2024
92bd46a
Update README.md
lemire Oct 24, 2024
4381a88
adding jitpack, see https://jitpack.io/docs/BUILDING/#custom-commands
lemire Oct 24, 2024
e8e1484
updating documentation.
lemire Oct 24, 2024
a93f01f
[Gradle Release Plugin] - pre tag commit: '1.3.13'.
lemire Oct 24, 2024
27a84fa
[Gradle Release Plugin] - new version commit: '1.3.14-SNAPSHOT'.
lemire Oct 24, 2024
91f190a
downgrading jitpack
lemire Oct 24, 2024
fc687b2
[Gradle Release Plugin] - pre tag commit: '1.3.14'.
lemire Oct 24, 2024
e023cfe
[Gradle Release Plugin] - new version commit: '1.3.15-SNAPSHOT'.
lemire Oct 24, 2024
6647a95
[Gradle Release Plugin] - pre tag commit: '1.3.15'.
lemire Oct 24, 2024
a8d5a7e
[Gradle Release Plugin] - new version commit: '1.3.16-SNAPSHOT'.
lemire Oct 24, 2024
5ae9e23
Update README.md
lemire Oct 24, 2024
d684f30
Update README.md
lemire Oct 25, 2024
d5fdee3
Update README.md
lemire Oct 30, 2024
8ba205e
fix issue 755 (#756)
fanson Oct 30, 2024
38ee8af
fix issue 753 (#754)
fanson Oct 30, 2024
992f823
[Gradle Release Plugin] - pre tag commit: '1.3.16'.
lemire Oct 30, 2024
b68098f
[Gradle Release Plugin] - new version commit: '1.3.17-SNAPSHOT'.
lemire Oct 30, 2024
62782af
Update README.md with version .16
lemire Oct 31, 2024
ad4143a
Integrate spotless (#759)
blacelle Nov 7, 2024
cca90c9
add Roaring64NavigableMapSliceIndex support (serialization format is …
fanson Nov 25, 2024
dd5f1d1
[bugfix] Cloning empty Roaring64Bitmap now does not throw an exceptio…
kbarczynski-rtbh Dec 14, 2024
146d16a
[Gradle Release Plugin] - pre tag commit: '1.3.17'.
lemire Dec 14, 2024
a50746f
[Gradle Release Plugin] - new version commit: '1.3.18-SNAPSHOT'.
lemire Dec 14, 2024
60dcdb5
RangeBitmap between with context (#763)
richardstartin Dec 23, 2024
d503c97
fix the bsi topk bug (#761)
Tan-JiaLiang Jan 6, 2025
f5bfaad
[Gradle Release Plugin] - pre tag commit: '1.3.18'.
lemire Jan 6, 2025
2994b7d
[Gradle Release Plugin] - new version commit: '1.3.19-SNAPSHOT'.
lemire Jan 6, 2025
616ed90
fix deserialize long data problem (#765)
Chopinxb Jan 9, 2025
1ab69bc
[Gradle Release Plugin] - pre tag commit: '1.3.19'.
lemire Jan 9, 2025
9e6cfd3
[Gradle Release Plugin] - new version commit: '1.3.20-SNAPSHOT'.
lemire Jan 9, 2025
82f3a6e
fix: Roaring64Bitmap reverseStream produces increasing row of numbers…
novoj Jan 31, 2025
47f5df2
[Gradle Release Plugin] - pre tag commit: '1.3.20'.
lemire Jan 31, 2025
f404011
[Gradle Release Plugin] - new version commit: '1.3.21-SNAPSHOT'.
lemire Jan 31, 2025
e6f9389
Update README.md
lemire Mar 14, 2025
c9de805
implementing 'validate()'. (#771)
lemire Mar 14, 2025
c814ff6
[Gradle Release Plugin] - pre tag commit: '1.4.0'.
lemire Mar 14, 2025
c0dd7c8
[Gradle Release Plugin] - new version commit: '1.4.1-SNAPSHOT'.
lemire Mar 14, 2025
2e48369
adding a small remark
lemire Mar 18, 2025
8e1c0a0
computing the cardinality in Roaring64NavigableMap class is a mutator
lemire Apr 4, 2025
38d06e4
Fix overflow in ImmutableRoaringBitmap#flip (#774)
zoltanmeze Jun 13, 2025
8740572
[Gradle Release Plugin] - pre tag commit: '1.4.1'.
lemire Jun 13, 2025
b52319a
[Gradle Release Plugin] - new version commit: '1.4.2-SNAPSHOT'.
lemire Jun 13, 2025
462a903
share empty arrays (#779)
mkeskells Jul 28, 2025
18154f1
Implement copy on write roaring bitmaps (#780)
anandheritage Jul 30, 2025
600b7c4
make isEmpty faster (#778)
mkeskells Jul 30, 2025
58ccd2f
issue-773-don't mutate in isEmpty (#777)
mkeskells Jul 30, 2025
82854bf
[Gradle Release Plugin] - pre tag commit: '1.4.2'.
lemire Jul 30, 2025
8324af8
[Gradle Release Plugin] - new version commit: '1.4.3-SNAPSHOT'.
lemire Jul 30, 2025
abfffa0
[Gradle Release Plugin] - pre tag commit: '1.4.3'.
lemire Jul 30, 2025
44e3e97
[Gradle Release Plugin] - new version commit: '1.4.4-SNAPSHOT'.
lemire Jul 30, 2025
078e31d
[Gradle Release Plugin] - pre tag commit: '1.4.4'.
lemire Jul 30, 2025
e3b5744
[Gradle Release Plugin] - new version commit: '1.4.5-SNAPSHOT'.
lemire Jul 30, 2025
4945150
manually tweaking the release
lemire Jul 30, 2025
32e7783
[Gradle Release Plugin] - pre tag commit: '1.5.1'.
lemire Jul 30, 2025
5a53b39
[Gradle Release Plugin] - new version commit: '1.5.2-SNAPSHOT'.
lemire Jul 30, 2025
02ba154
Version update in our examples.
lemire Jul 30, 2025
a71bb24
fix/hack for windows delete in tests (#781)
mkeskells Aug 1, 2025
9ecff9e
[64 bit bitmaps) Split non-leaf - BranchNode from leaf nodes (to redu…
mkeskells Aug 4, 2025
40ff3aa
[Gradle Release Plugin] - pre tag commit: '1.5.2'.
lemire Aug 4, 2025
47e5b23
[Gradle Release Plugin] - new version commit: '1.5.3-SNAPSHOT'.
lemire Aug 4, 2025
dd0654f
better fix to temp files deletion (#783)
mkeskells Aug 4, 2025
5090452
2 changes (#782)
mkeskells Aug 4, 2025
5489517
use some junit methods to report errors more verbosely (#784)
mkeskells Aug 5, 2025
c820454
remove nodeType from Branch nodes (its hardly used) (#787)
mkeskells Aug 10, 2025
d258f77
remove prefixLength to save some memory. (#789)
mkeskells Aug 11, 2025
ea3bcaa
remove prefixLength to save some memory. (#788)
mkeskells Aug 11, 2025
b9e0a44
fix memory leak in Node4.remove (#790)
mkeskells Aug 12, 2025
6aa9546
remove allocations from lookups
mkeskells Aug 17, 2025
a847cf1
Update roaringbitmap/src/main/java/org/roaringbitmap/longlong/LongUti…
mkeskells Aug 17, 2025
0054a40
Merge pull request #793 from mkeskells/remove-allocations-lookup
mkeskells Aug 18, 2025
f10f8b7
avoid double dipping
mkeskells Aug 17, 2025
a698be6
empty arrays and copying (#794)
mkeskells Aug 18, 2025
03e221d
Update README.md
lemire Aug 19, 2025
6feaa51
some initial Roaring64Bitmap benchmarks (#797)
mkeskells Aug 20, 2025
e4ce049
Upgrade Gradle Version to 8.14+ (#798)
anandheritage Aug 21, 2025
aa5bf0b
an few more benchmarks (#799)
mkeskells Aug 21, 2025
27f851c
adding clone tests.
lemire Aug 23, 2025
deae25b
add cloning benchmarks
mkeskells Aug 22, 2025
bba28da
add some test
mkeskells Aug 25, 2025
27f3f77
fixing issue 801 (#802)
lemire Aug 26, 2025
93a81f8
[Gradle Release Plugin] - pre tag commit: '1.5.3'.
lemire Aug 26, 2025
6b6f763
[Gradle Release Plugin] - new version commit: '1.5.4-SNAPSHOT'.
lemire Aug 26, 2025
600c87e
Merge pull request #795 from mkeskells/remove-allocations-lookup--dou…
mkeskells Aug 31, 2025
0d6531f
Merge pull request #800 from mkeskells/clone
mkeskells Aug 31, 2025
2954664
minor optimisations (#804)
mkeskells Sep 1, 2025
3e5d587
update gradle wrapper validation (#807)
lemire Sep 9, 2025
3764d35
update moved dependency (#806)
mkeskells Sep 9, 2025
33ff3ff
Add star history chart to README (#808)
lemire Oct 21, 2025
3ca9eeb
attempt at releasing to maven central (may fail)
lemire Nov 27, 2025
a1587fe
bumping the java version
lemire Nov 27, 2025
2f44cf2
trying again to release to maven central.
lemire Nov 27, 2025
47aacc6
trying jreleaser
lemire Nov 27, 2025
232f2e7
Avoid computing cardinality for run container (#812)
xtonik Nov 27, 2025
9d7eb3a
more attempts at publishing to maven
lemire Nov 27, 2025
0aa01a8
Merge branch 'master' of github.com:RoaringBitmap/RoaringBitmap
lemire Nov 27, 2025
73b9e36
forgot to include this.
lemire Nov 27, 2025
d8dcfb1
Rank long (#811)
xtonik Nov 27, 2025
2eaf9b0
trying again to release
lemire Nov 27, 2025
d47045a
Merge branch 'master' of github.com:RoaringBitmap/RoaringBitmap
lemire Nov 27, 2025
62a02bb
more tweaking
lemire Nov 27, 2025
82b61fc
smarter
lemire Nov 27, 2025
86345dd
update
lemire Nov 27, 2025
91778fe
link yml file
lemire Nov 27, 2025
224019c
adding publish
lemire Nov 27, 2025
16afe4e
reverting recent changes having to do with maven releases
lemire Nov 27, 2025
921047c
a two-level succinct data structure that provides constant-time rank …
geraldpgreen Dec 15, 2025
fec1dd5
[Gradle Release Plugin] - pre tag commit: '1.6.0'.
lemire Dec 15, 2025
0153101
[Gradle Release Plugin] - new version commit: '1.6.1-SNAPSHOT'.
lemire Dec 15, 2025
34d4622
Multiple bitmaps intersection test (#815)
xtonik Jan 15, 2026
3eff290
avoid intersection with already empty container (#816)
xtonik Jan 23, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Make sure to compare your version against the latest available version at https:

**Java version:**

Please tell us which Java version you are using.
Please tell us which Java version you are using.



1 change: 0 additions & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,3 @@
### Automated Checks

- [ ] I have run `./gradlew test` and made sure that my PR does not break any unit test.
- [ ] I have run `./gradlew checkstyleMain` or the equivalent and corrected the formatting warnings reported.
2 changes: 1 addition & 1 deletion .github/workflows/checkascii.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Check ASCII
run: |
find . -type f -name '*.java' | xargs file | grep -qv ASCII || exit 0 && exit 1
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/gradle-wrapper-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,5 @@ jobs:
name: "validation"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: gradle/wrapper-validation-action@v1
- uses: actions/checkout@v4
- uses: gradle/actions/wrapper-validation@v3
53 changes: 46 additions & 7 deletions .github/workflows/java-all-versions.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,67 @@
name: Java 8, 11, 17 CI
name: Java 8, 11, 17, 21 CI

on: [push,pull_request]
on: [ push,pull_request ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- name: Set up JDKs 8, 11, 17
uses: actions/setup-java@v3
- uses: actions/checkout@v4
- name: Set up JDKs 8, 11, 17, 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
8
11
17
21

- name: Build with Gradle
run: ./gradlew assemble
- name: Style check
run: ./gradlew checkstyleMain

- name: Test with Java 8
id: test_java8
run: ./gradlew test -PtestOnJava=8 --stacktrace

- uses: actions/upload-artifact@v4 # upload test results if the test was not skipped
if: ${{ !cancelled() && steps.test_java8.outcome != 'skipped'}}
with:
name: test-results-j8
path: '*/build/test-results/**/*.xml'
overwrite: 'true'

- name: Test with Java 11
id: test_java11
run: ./gradlew test -PtestOnJava=11 --stacktrace

- uses: actions/upload-artifact@v4 # upload test results if the test was not skipped
if: ${{ !cancelled() && steps.test_java11.outcome != 'skipped'}}
with:
name: test-results-j11
path: '*/build/test-results/**/*.xml'
overwrite: 'true'

- name: Test with Java 17
id: test_java17
run: ./gradlew test -PtestOnJava=17 --stacktrace

- uses: actions/upload-artifact@v4 # upload test results if the test was not skipped
if: ${{ !cancelled() && steps.test_java17.outcome != 'skipped'}}
with:
name: test-results-j17
path: '*/build/test-results/**/*.xml'
overwrite: 'true'

- name: Test with Java 21
id: test_java21
run: ./gradlew test -PtestOnJava=21 --stacktrace

- uses: actions/upload-artifact@v4 # upload test results if the test was not skipped
if: ${{ !cancelled() && steps.test_java21.outcome != 'skipped'}}
with:
name: test-results-j21
path: '*/build/test-results/**/*.xml'
overwrite: 'true'

17 changes: 14 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,24 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up JDK 11
uses: actions/setup-java@v3
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 11

- name: Build with Gradle
run: ./gradlew assemble

- name: Test with Gradle
run: ./gradlew test
id: test_macos_java11
run: ./gradlew test

- uses: actions/upload-artifact@v4 # upload test results if the test was not skipped
if: ${{ !cancelled() && steps.test_macos_java11.outcome != 'skipped'}}
with:
name: test-results-macos-j11
path: '*/build/test-results/**/*.xml'
overwrite: 'true'

95 changes: 95 additions & 0 deletions .github/workflows/post-all-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: 'Test Report'
on:
workflow_run:
workflows: ['Java 8, 11, 17, 21 CI'] # runs after CI workflow
types:
- completed

permissions:
contents: read
actions: read
checks: write
jobs:
report:
runs-on: ubuntu-latest
if: always()
steps:
- name: Check for test-results-j8 artifact
id: check_j8
uses: actions/download-artifact@v4
with:
name: test-results-j8
path: temp-j8
continue-on-error: true

- name: Check for test-results-j11 artifact
id: check_j11
uses: actions/download-artifact@v4
with:
name: test-results-j11
path: temp-j11
continue-on-error: true

- name: Check for test-results-j8 artifact
id: check_j17
uses: actions/download-artifact@v4
with:
name: test-results-j17
path: temp-j17
continue-on-error: true

- name: Check for test-results-j21 artifact
id: check_j21
uses: actions/download-artifact@v4
with:
name: test-results-j21
path: temp-j21
continue-on-error: true

- name: Check for test-results-j21 artifact
id: check__macos_j11
uses: actions/download-artifact@v4
with:
name: test-results-macos-j11
path: temp-macos-j11
continue-on-error: true

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j8.outcome == 'success' }}
with:
artifact: test-results-j8 # artifact name
name: Java 8 Tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j11.outcome == 'success' }}
with:
artifact: test-results-j11 # artifact name
name: Java 11 tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j17.outcome == 'success' }}
with:
artifact: test-results-j17 # artifact name
name: Java 17 tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j21.outcome == 'success' }}
with:
artifact: test-results-j21 # artifact name
name: Java 21 tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check__macos_j11.outcome == 'success' }}
with:
artifact: test-results-macos-j11 # artifact name
name: Java 11 macos tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results
95 changes: 95 additions & 0 deletions .github/workflows/post-macos-version.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,95 @@
name: 'Test Report'
on:
workflow_run:
workflows: ['Java 11 CI macOS (Apple)'] # runs after CI workflow
types:
- completed

permissions:
contents: read
actions: read
checks: write
jobs:
report:
runs-on: ubuntu-latest
if: always()
steps:
- name: Check for test-results-j8 artifact
id: check_j8
uses: actions/download-artifact@v4
with:
name: test-results-j8
path: temp-j8
continue-on-error: true

- name: Check for test-results-j11 artifact
id: check_j11
uses: actions/download-artifact@v4
with:
name: test-results-j11
path: temp-j11
continue-on-error: true

- name: Check for test-results-j8 artifact
id: check_j17
uses: actions/download-artifact@v4
with:
name: test-results-j17
path: temp-j17
continue-on-error: true

- name: Check for test-results-j21 artifact
id: check_j21
uses: actions/download-artifact@v4
with:
name: test-results-j21
path: temp-j21
continue-on-error: true

- name: Check for test-results-j21 artifact
id: check__macos_j11
uses: actions/download-artifact@v4
with:
name: test-results-macos-j11
path: temp-macos-j11
continue-on-error: true

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j8.outcome == 'success' }}
with:
artifact: test-results-j8 # artifact name
name: Java 8 Tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j11.outcome == 'success' }}
with:
artifact: test-results-j11 # artifact name
name: Java 11 tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j17.outcome == 'success' }}
with:
artifact: test-results-j17 # artifact name
name: Java 17 tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check_j21.outcome == 'success' }}
with:
artifact: test-results-j21 # artifact name
name: Java 21 tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results

- uses: dorny/test-reporter@v1
if: ${{ steps.check__macos_j11.outcome == 'success' }}
with:
artifact: test-results-macos-j11 # artifact name
name: Java 11 macos tests # Name of the check run which will be created
path: '*.xml' # Path to test results (inside artifact .zip)
reporter: java-junit # Format of test results
44 changes: 26 additions & 18 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,30 @@
name: "tagged-release"

name: Publish package to GitHub Packages
on:
push:
tags:
- "(\\d)+\\.(\\d)+\\.(\\d)+"

release:
types: [created]
jobs:
tagged-release:
name: "Tagged Release"
runs-on: "ubuntu-latest"

publish:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: "Creating a release"
run: |
echo "done!"

- uses: "marvinpinto/action-automatic-releases@latest"
- uses: actions/checkout@v4
with:
repo_token: "${{ secrets.GITHUB_TOKEN }}"
prerelease: false

path: roaring
- uses: actions/setup-java@v4
with:
java-version: '11'
distribution: 'temurin'
- name: Setup Gradle
uses: gradle/actions/setup-gradle@af1da67850ed9a4cedd57bfd976089dd991e2582 # v4.0.0
- name: Build with Gradle
run: ./gradlew build -x test -i
working-directory: ./roaring
- name: Publish package
run: ./gradlew publishSonatypePublicationToGitHubPackagesRepository -i
working-directory: ./roaring
env:
GITHUB_USER: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Loading