Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lemire committed Nov 1, 2024
1 parent 7ac80d8 commit 80ed9cf
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/allversions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: 11, 17, 21 CI

on: [push,pull_request]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- name: Set up JDKs 11, 17, 21
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: |
11
17
21
- name: Build with Gradle
run: ./gradlew assemble
- name: Test with Java 11
run: ./gradlew test -PtestOnJava=11 --stacktrace
- name: Test with Java 17
run: ./gradlew test -PtestOnJava=17 --stacktrace
- name: Test with Java 21
run: ./gradlew test -PtestOnJava=21 --stacktrace
3 changes: 2 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ repositories {
}

dependencies {
implementation 'com.github.RoaringBitmap.RoaringBitmap:roaringbitmap:1.3.15'
implementation 'com.github.RoaringBitmap.RoaringBitmap:roaringbitmap:1.3.16'
implementation 'com.github.RoaringBitmap.RoaringBitmap:bsi:1.3.16'
testImplementation 'junit:junit:3.8.1'
}
7 changes: 6 additions & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
<dependency>
<groupId>com.github.RoaringBitmap.RoaringBitmap</groupId>
<artifactId>roaringbitmap</artifactId>
<version>1.3.15</version>
<version>1.3.16</version>
</dependency>
<dependency>
<groupId>com.github.RoaringBitmap.RoaringBitmap</groupId>
<artifactId>bsi</artifactId>
<version>1.3.16</version>
</dependency>
</dependencies>
<repositories>
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/org/roaringbitmap/App.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@
*
*/
import org.roaringbitmap.RoaringBitmap;
import org.roaringbitmap.bsi.RoaringBitmapSliceIndex;
public class App
{
public void setup() {
RoaringBitmapSliceIndex bsi = new RoaringBitmapSliceIndex(1, 99);
}
public static void main(String[] args) {
RoaringBitmap rr = RoaringBitmap.bitmapOf(1,2,3,1000);
RoaringBitmap rr2 = new RoaringBitmap();
Expand Down
2 changes: 1 addition & 1 deletion src/test/java/org/roaringbitmap/AppTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ public static Test suite()
public void testApp()
{
RoaringBitmap rr = RoaringBitmap.bitmapOf(1,2,3,1000);
assertTrue( rr.contains(1) );
assertTrue( rr.contains(3) );
}
}

0 comments on commit 80ed9cf

Please sign in to comment.