-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Upgrade to snappy-1.1.9 * Add sbt-dynver * Fix script so as not to requrie perl * Upgrade bitshuffle to 0.5.1 * use bitshuffle 0.3.4, which can be compiled without errors * Add native library build workflow
- Loading branch information
Showing
9 changed files
with
70 additions
and
7 deletions.
There are no files selected for viewing
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,36 @@ | ||
name: Build Native | ||
|
||
on: | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build native libraries | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Build native libraries | ||
run: make clean-native native-all | ||
env: | ||
OCI_EXE: docker | ||
- name: Upload native libraries | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: native-libs | ||
path: src/main/resources/org/xerial/snappy/native/ | ||
push: | ||
name: Push new native libraries to branch | ||
runs-on: ubuntu-latest | ||
needs: [check, build] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Download native libraries | ||
uses: actions/download-artifact@v3 | ||
with: | ||
name: native-libs | ||
path: src/main/resources/org/xerial/snappy/native/ | ||
- run: git status | ||
- name: Commit and push | ||
uses: EndBug/add-and-commit@v9 | ||
with: | ||
message: 'Update native libraries' | ||
default_author: github_actions |
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
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
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
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,21 @@ | ||
#!/bin/sh | ||
|
||
# Compute sbt-dynver-compatible version number | ||
BUILD_TIME=`date '+%Y%m%d-%H%M'` | ||
DYN_VER=`git describe --long --tags --abbrev=8 --match "v[0-9]*" --always --dirty="-${BUILD_TIME}"` | ||
GIT_DIST=`echo ${DYN_VER} | sed -re "s/v([^-]*)-([0-9]+)-g(.*)/\2/g"` | ||
GIT_TAG=`git describe --tags --dirty` | ||
RELEASE_VERSION=`echo ${DYN_VER} | sed -re "s/v([^-]*)-([0-9]+)-g(.*)/\1/g"` | ||
SNAPSHOT_VERSION=`echo ${DYN_VER} | sed -re "s/v([^-]*)-([0-9]+)-g(.*)/\1-\2-\3/g"`-SNAPSHOT | ||
|
||
if [ ${GIT_DIST} -eq 0 ]; then | ||
if [ ${GIT_TAG} == *"-dirty" ]; then | ||
VERSION=${SNAPSHOT_VERSION} | ||
else | ||
VERSION=${RELEASE_VERSION} | ||
fi | ||
else | ||
VERSION=${SNAPSHOT_VERSION} | ||
fi | ||
|
||
echo ${VERSION} |
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,2 @@ | ||
SNAPPY_VERSION=1.1.8 | ||
BITSHUFFLE_VERSION=0.3.2 | ||
SNAPPY_VERSION=1.1.9 | ||
BITSHUFFLE_VERSION=0.3.4 |
Binary file modified
BIN
+2.09 KB
(100%)
src/main/resources/org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
src/main/resources/org/xerial/snappy/native/Mac/aarch64/libsnappyjava.dylib
Binary file not shown.
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 +1 @@ | ||
ThisBuild / version := "1.1.8.5-SNAPSHOT" | ||
ThisBuild / version := "1.1.9.0-SNAPSHOT" |