Skip to content

Commit 5b7b175

Browse files
committed
Merge remote-tracking branch 'origin/master'
2 parents 62eba72 + fa836ac commit 5b7b175

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed

.github/workflows/build.yml

+47
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
name: build
2+
3+
on: [push]
4+
5+
jobs:
6+
linux:
7+
name: 'Linux'
8+
runs-on: ubuntu-latest
9+
10+
steps:
11+
- uses: actions/checkout@v2
12+
- name: Set up JDK 1.11
13+
uses: actions/setup-java@v1
14+
with:
15+
java-version: 11
16+
- name: Grant execute permission for gradlew
17+
run: chmod +x gradlew
18+
- name: Build with Gradle
19+
run: ./gradlew build
20+
21+
windows:
22+
name: 'Windows'
23+
runs-on: windows-latest
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
- name: Set up JDK 1.11
28+
uses: actions/setup-java@v1
29+
with:
30+
java-version: 11
31+
- name: Build with Gradle
32+
run: .\gradlew.bat build
33+
34+
mac:
35+
name: 'Mac OS'
36+
runs-on: macos-latest
37+
38+
steps:
39+
- uses: actions/checkout@v2
40+
- name: Set up JDK 1.11
41+
uses: actions/setup-java@v1
42+
with:
43+
java-version: 11
44+
- name: Grant execute permission for gradlew
45+
run: chmod +x gradlew
46+
- name: Build with Gradle
47+
run: ./gradlew build

README.md

+18
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
11
# kool
2+
3+
[![Build Status](https://github.com/kotlin-graphics/kool/workflows/build/badge.svg)](https://github.com/kotlin-graphics/kool/actions?workflow=build)
4+
[![license](https://img.shields.io/badge/License-MIT-orange.svg)](https://github.com/kotlin-graphics/kool/blob/master/LICENSE)
5+
[![Release](https://jitpack.io/v/kotlin-graphics/kool.svg)](https://jitpack.io/#kotlin-graphics/kool)
6+
![Size](https://github-size-badge.herokuapp.com/kotlin-graphics/kool.svg)
7+
[![Github All Releases](https://img.shields.io/github/downloads/kotlin-graphics/kool/total.svg)]()
8+
9+
Small util library featuring:
10+
11+
- functional programming for `IntBuffer`s
12+
- short buffer and `CustomBuffer` plain parameters (`adr`, `pos`, `cap`, `rem`, `remSize`, `lim`)
13+
- buffers set operators
14+
- convenient conversions buffers <-> arrays
15+
- dummy buffer constructors: `(size: Int)` and `(size: Int, init: (Int) -> *)`
16+
- convenient `MemoryStack` extensions (like lambdas retrieving primitives via native memory)
17+
- inline classes of primitive pointers
18+
- `Stack` getters and setters
19+
- other minor utils

0 commit comments

Comments
 (0)