Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre release of forst 0.1.3 #82

Closed
wants to merge 63 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
05f2425
Update for 8.5.fb branch cut
ajkr Jul 26, 2023
69ddf2e
Fix use_after_free bug when underlying FS enables kFSBuffer (#11645)
akankshamahajan15 Jul 27, 2023
393d2dd
include last bug fix into 8.5.0
ajkr Jul 28, 2023
6fd663a
Avoid shifting component too large error in FileTtlBooster (#11673)
cbi42 Aug 4, 2023
89a3958
include last bug fix into 8.5.0
ajkr Aug 7, 2023
3885d76
8.5.1 bug fix (#11783)
cbi42 Aug 31, 2023
5e063b9
8.5.2 Fix a bug where iterator can return incorrect data for DeleteRa…
cbi42 Sep 1, 2023
fad0f3d
Fix `GenericRateLimiter` hanging bug (#11763)
ajkr Aug 28, 2023
f325216
update HISTORY.md and version.h for 8.5.3
ajkr Sep 1, 2023
c486bb9
[FLINK-10471] Add Apache Flink specific compaction filter to evict ex…
azagrebin Feb 6, 2019
abcce6d
[FLINK-19710] Revert implementation of PerfContext back to __thread t…
Myasuka Oct 22, 2020
06fe572
[FLINK-23756] Update FrocksDB release document with more info
autophagy Aug 16, 2021
fa05ea4
add jni support for CreateColumnFamilyWithImport
mayuehappy Jul 27, 2023
e7b6d68
[build] Setting up templates for issues and PRs (#1)
Zakelly Mar 6, 2024
6f910e2
[build] Remove buckify output in sanity check (#3)
Zakelly Mar 7, 2024
df5916a
[build] Fix 'using namespace' in fliink compaction filter (#4)
fredia Mar 7, 2024
61f9574
[env] Introduce interface of env_flink (#5)
masteryhx Mar 12, 2024
44debe7
[env] Introduce JvmUtils to support global JNIEnv
Mar 12, 2024
4a511b3
[env] Introduce interface of env_flink (#7)
masteryhx Mar 12, 2024
09ba94f
[build] license and READMEs (#9)
Zakelly Mar 12, 2024
0f4667b
Revert "[FLINK-19710] Revert implementation of PerfContext back to __…
fredia Mar 12, 2024
0d7fea8
[build] Add pr-jobs check (#10)
fredia Mar 13, 2024
d4e8ef1
[env] Fix jvm_util unused parameter error (#14)
ljz2051 Mar 18, 2024
3ded35e
Update ZLib to 1.3.1 (#12358)
adamretter Feb 16, 2024
7c0c8da
[env] Implement all methods of env_flink (#13)
masteryhx Mar 15, 2024
a5c920d
[env] Modify the license (#13)
masteryhx Mar 18, 2024
ec88681
[env] Support JNI of FlinkEnv (#12)
ljz2051 Mar 21, 2024
de9582b
[env]Introduce flink-env test suite (#17)
ljz2051 Mar 29, 2024
729cf5c
[env] Add test cases in flink-env test suite
masteryhx Apr 1, 2024
9c23507
[build] Fix warning about unused parameters
masteryhx Apr 1, 2024
5d70ad0
[build] Support releasing forst
masteryhx Apr 6, 2024
a9f4b16
[build] Fix platform-related codes
masteryhx Apr 7, 2024
1d531da
[build] Setting up templates for issues and PRs (#1)
Zakelly Mar 6, 2024
eaa8588
[build] Remove buckify output in sanity check (#3)
Zakelly Mar 7, 2024
f10be99
[env] Introduce interface of env_flink (#5)
masteryhx Mar 12, 2024
b8cb45e
[env] Introduce JvmUtils to support global JNIEnv
Mar 12, 2024
0a7f5f1
[env] Introduce interface of env_flink (#7)
masteryhx Mar 12, 2024
5ad02f7
[build] license and READMEs (#9)
Zakelly Mar 12, 2024
d73053f
[build] Add pr-jobs check (#10)
fredia Mar 13, 2024
e1d1083
[env] Fix jvm_util unused parameter error (#14)
ljz2051 Mar 18, 2024
f845fe4
[env] Implement all methods of env_flink (#13)
masteryhx Mar 15, 2024
d749df5
[env] Modify the license (#13)
masteryhx Mar 18, 2024
40bf82a
[env] Support JNI of FlinkEnv (#12)
ljz2051 Mar 21, 2024
a4ada5b
[env]Introduce flink-env test suite (#17)
ljz2051 Mar 29, 2024
ca371b1
[env] Add test cases in flink-env test suite
masteryhx Apr 1, 2024
abe27da
[build] Fix warning about unused parameters
masteryhx Apr 1, 2024
ae7d821
[build] Support releasing forst
masteryhx Apr 6, 2024
ab5912f
[FLINK-35928][build] rename namespace/jni to forst
fredia Sep 26, 2024
44ac6d8
[build] Fix platform-related codes
fredia Sep 26, 2024
fcb3088
[FLINK-35928][build] Rename jclass to forst in portal.h
fredia Sep 26, 2024
3c86325
[FLINK-35928][build] Rename .so to forst
fredia Sep 27, 2024
98f5a1a
[FLINK-35928][build] break when loading library is interrupted
fredia Sep 27, 2024
eef75e6
[FLINK-35928][build] rename forstdbjni to forstjni
fredia Sep 27, 2024
2faec9e
[FLINK-35928][build] Rename jclass to forst in *.cc
fredia Oct 18, 2024
b1015fe
[build] Fix packaging error
Zakelly Oct 23, 2024
fe973c1
Merge from release-0.1.2
Zakelly Oct 24, 2024
7ad01ec
Merge pull request #21
Zakelly Oct 24, 2024
5819655
[build] Fixing ci error (#22)
Zakelly Oct 25, 2024
60474f4
[misc] Correct .gitignore (#24)
Zakelly Oct 28, 2024
0d346d4
[FLINK-36598] Provide FileSystem instance in intialization
Zakelly Oct 28, 2024
d6a941b
[build] Trigger CI to build
masteryhx Apr 7, 2024
01a3c1e
[build] Win debug
Zakelly Sep 27, 2024
06e667e
0.1.3
Zakelly Oct 31, 2024
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
  •  
  •  
  •  
104 changes: 98 additions & 6 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ commands:
echo "export SNAPPY_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/snappy" >> $BASH_ENV
echo "export LZ4_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/lz4" >> $BASH_ENV
echo "export ZSTD_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/zstd" >> $BASH_ENV
echo "export DISABLE_PERF_CONTEXT=0" >> $BASH_ENV
echo "export DISABLE_PERF_CONTEXT=1" >> $BASH_ENV

windows-build-steps:
steps:
Expand All @@ -72,7 +72,7 @@ commands:
$env:Path = $env:JAVA_HOME + ";" + $env:Path
mkdir build
cd build
& $Env:CMAKE_BIN -G "$Env:CMAKE_GENERATOR" -DCMAKE_BUILD_TYPE=Debug -DOPTDBG=1 -DPORTABLE="$Env:CMAKE_PORTABLE" -DSNAPPY=1 -DJNI=1 ..
& $Env:CMAKE_BIN -G "$Env:CMAKE_GENERATOR" -DCMAKE_BUILD_TYPE=DEBUG -DOPTDBG=1 -DPORTABLE="$Env:CMAKE_PORTABLE" -DSNAPPY=1 -DJNI=1 ..
cd ..
echo "Building with VS version: $Env:CMAKE_GENERATOR"
msbuild.exe build/rocksdb.sln -maxCpuCount -property:Configuration=Debug -property:Platform=x64
Expand All @@ -86,6 +86,8 @@ commands:
command: |
cd build\java
& $Env:CTEST_BIN -C Debug -j 16
- store_artifacts:
path: build\java
pre-steps-macos:
steps:
- pre-steps
Expand Down Expand Up @@ -362,7 +364,7 @@ jobs:
resource_class: xlarge
steps:
- checkout # check out the code in the project directory
- run: CC=clang CXX=clang++ USE_CLANG=1 PORTABLE=1 DISABLE_PERF_CONTEXT=0 make V=1 -j16 all
- run: CC=clang CXX=clang++ USE_CLANG=1 PORTABLE=1 DISABLE_PERF_CONTEXT=1 make V=1 -j16 all
- post-steps

build-linux-clang10-asan:
Expand Down Expand Up @@ -475,7 +477,7 @@ jobs:
- run: apt-get update -y && apt-get install -y libgflags-dev
- run:
name: "Unity build"
command: DISABLE_PERF_CONTEXT=0 make V=1 -j8 unity_test
command: DISABLE_PERF_CONTEXT=1 make V=1 -j8 unity_test
no_output_timeout: 20m
- run: make V=1 -j8 -k check-headers # could be moved to a different build
- post-steps
Expand Down Expand Up @@ -613,6 +615,7 @@ jobs:
SNAPPY_HOME: C:/Users/circleci/thirdparty/snappy-1.1.8
SNAPPY_INCLUDE: C:/Users/circleci/thirdparty/snappy-1.1.8;C:/Users/circleci/thirdparty/snappy-1.1.8/build
SNAPPY_LIB_DEBUG: C:/Users/circleci/thirdparty/snappy-1.1.8/build/Debug/snappy.lib
SNAPPY_LIB_RELEASE: C:/Users/circleci/thirdparty/snappy-1.1.8/build/Release/snappy.lib
CMAKE_GENERATOR: Visual Studio 17 2022
CMAKE_PORTABLE: AVX2
steps:
Expand All @@ -631,6 +634,7 @@ jobs:
SNAPPY_HOME: C:/Users/circleci/thirdparty/snappy-1.1.8
SNAPPY_INCLUDE: C:/Users/circleci/thirdparty/snappy-1.1.8;C:/Users/circleci/thirdparty/snappy-1.1.8/build
SNAPPY_LIB_DEBUG: C:/Users/circleci/thirdparty/snappy-1.1.8/build/Debug/snappy.lib
SNAPPY_LIB_RELEASE: C:/Users/circleci/thirdparty/snappy-1.1.8/build/Release/snappy.lib
CMAKE_GENERATOR: Visual Studio 17 2022
CMAKE_PORTABLE: 1
steps:
Expand All @@ -649,6 +653,7 @@ jobs:
SNAPPY_HOME: C:/Users/circleci/thirdparty/snappy-1.1.8
SNAPPY_INCLUDE: C:/Users/circleci/thirdparty/snappy-1.1.8;C:/Users/circleci/thirdparty/snappy-1.1.8/build
SNAPPY_LIB_DEBUG: C:/Users/circleci/thirdparty/snappy-1.1.8/build/Debug/snappy.lib
SNAPPY_LIB_RELEASE: C:/Users/circleci/thirdparty/snappy-1.1.8/build/Release/snappy.lib
CMAKE_GENERATOR: Visual Studio 16 2019
CMAKE_PORTABLE: 1
steps:
Expand Down Expand Up @@ -808,8 +813,10 @@ jobs:
echo "JAVA_HOME=${JAVA_HOME}"
which java && java -version
which javac && javac -version
mkdir build && cd build && cmake -DJNI=1 -DWITH_GFLAGS=OFF .. -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_SYSTEM_NAME=Windows && make -j4 rocksdb rocksdbjni
- post-steps
mkdir build && cd build && cmake -DCMAKE_BUILD_TYPE=RELEASE -DJNI=1 -DWITH_GFLAGS=OFF .. -DCMAKE_C_COMPILER=x86_64-w64-mingw32-gcc -DCMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++ -DCMAKE_SYSTEM_NAME=Windows && make -j4 rocksdb rocksdbjni
- store_artifacts:
path: build
- post-steps

build-linux-non-shm:
executor: linux-docker
Expand Down Expand Up @@ -841,6 +848,86 @@ jobs:
- run: ROCKSDBTESTS_PLATFORM_DEPENDENT=only make V=1 J=4 -j4 all_but_some_tests check_some
- post-steps

build-linux-arm-docker-musl:
machine:
image: ubuntu-2004:202111-02
resource_class: arm.xlarge
steps:
- pre-steps
- run:
name: "Set Java Environment"
command: |
echo "JAVA_HOME=${JAVA_HOME}"
echo 'export PATH=$JAVA_HOME/bin:$PATH' >> $BASH_ENV
which java && java -version
which javac && javac -version
- run:
name: "Build rocksdbjavastaticdockerarm64v8musl"
command: DEBUG_LEVEL=0 ROCKSDB_DISABLE_JEMALLOC=true PORTABLE=1 CXXFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -Wno-error=shadow -Wno-error-defaulted-function-deleted -Wno-unknown-warning-option -Wno-error=unused-parameter -Wno-error=unused-variable" make V=1 J=8 -j8 rocksdbjavastaticdockerarm64v8musl
- store_artifacts:
path: java/target
- post-steps

build-linux-arm-docker:
machine:
image: ubuntu-2004:202111-02
resource_class: arm.xlarge
steps:
- pre-steps
- run:
name: "Set Java Environment"
command: |
echo "JAVA_HOME=${JAVA_HOME}"
echo 'export PATH=$JAVA_HOME/bin:$PATH' >> $BASH_ENV
which java && java -version
which javac && javac -version
- run:
name: "Build rocksdbjavastaticdockerarm64v8"
command: DEBUG_LEVEL=0 ROCKSDB_DISABLE_JEMALLOC=true PORTABLE=1 CXXFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -Wno-error=shadow -Wno-error-defaulted-function-deleted -Wno-unknown-warning-option -Wno-error=unused-parameter -Wno-error=unused-variable" make V=1 J=8 -j8 rocksdbjavastaticdockerarm64v8
- store_artifacts:
path: java/target
- post-steps

build-linux-ppc64le-docker-musl:
machine:
image: ubuntu-2004:202111-02
resource_class: arm.xlarge
steps:
- pre-steps
- run:
name: "Set Java Environment"
command: |
echo "JAVA_HOME=${JAVA_HOME}"
echo 'export PATH=$JAVA_HOME/bin:$PATH' >> $BASH_ENV
which java && java -version
which javac && javac -version
- run:
name: "Build rocksdbjavastaticdockerppc64lemusl"
command: DEBUG_LEVEL=0 ROCKSDB_DISABLE_JEMALLOC=true PORTABLE=1 CXXFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -Wno-error=shadow -Wno-error-defaulted-function-deleted -Wno-unknown-warning-option -Wno-error=unused-parameter -Wno-error=unused-variable" make V=1 J=8 -j8 rocksdbjavastaticdockerppc64lemusl
- store_artifacts:
path: java/target
- post-steps

build-linux-ppc64le-docker:
machine:
image: ubuntu-2004:202111-02
resource_class: arm.xlarge
steps:
- pre-steps
- run:
name: "Set Java Environment"
command: |
echo "JAVA_HOME=${JAVA_HOME}"
echo 'export PATH=$JAVA_HOME/bin:$PATH' >> $BASH_ENV
which java && java -version
which javac && javac -version
- run:
name: "Build rocksdbjavastaticdockerppc64le"
command: DEBUG_LEVEL=0 ROCKSDB_DISABLE_JEMALLOC=true PORTABLE=1 CXXFLAGS="-I${JAVA_HOME}/include -I${JAVA_HOME}/include/linux -Wno-error=shadow -Wno-error-defaulted-function-deleted -Wno-unknown-warning-option -Wno-error=unused-parameter -Wno-error=unused-variable" make V=1 J=8 -j8 rocksdbjavastaticdockerppc64le
- store_artifacts:
path: java/target
- post-steps

build-linux-arm-cmake-no_test_run:
machine:
image: ubuntu-2004:202111-02
Expand Down Expand Up @@ -946,6 +1033,7 @@ workflows:
- build-linux-mini-crashtest
jobs-windows:
jobs:
- build-windows-vs2022
- build-windows-vs2019
- build-cmake-mingw
jobs-java:
Expand All @@ -969,6 +1057,10 @@ workflows:
build-fuzzers:
jobs:
- build-fuzzers
- build-linux-arm-docker-musl
- build-linux-arm-docker
- build-linux-ppc64le-docker-musl
- build-linux-ppc64le-docker
benchmark-linux:
triggers:
- schedule:
Expand Down
29 changes: 29 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Compile '...'
2. Run '....'
3. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. CentOS 7.8]

**Additional context**
Add any other context about the problem here.
8 changes: 8 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
blank_issues_enabled: false
contact_links:
- name: Have questions
url: https://github.com/ververica/ForSt/discussions/categories/q-a
about: Please ask and answer questions here.
- name: New Ideas
url: https://github.com/ververica/ForSt/discussions/categories/ideas
about: Please suggest your new ideas here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/work_item.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Work Item
about: Suggest/Log a work item (For big ideas and proposals, please go to New Ideas)
title: ''
labels: ''
assignees: ''

---

**What is this for**
A clear and concise description of what the item is.

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
7 changes: 7 additions & 0 deletions .github/actions/build-folly/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: build-folly
runs:
using: composite
steps:
- name: Build folly and dependencies
run: make build_folly
shell: bash
10 changes: 10 additions & 0 deletions .github/actions/increase-max-open-files-on-macos/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: increase-max-open-files-on-macos
runs:
using: composite
steps:
- name: Increase max open files
run: |-
sudo sysctl -w kern.maxfiles=1048576
sudo sysctl -w kern.maxfilesperproc=1048576
sudo launchctl limit maxfiles 1048576
shell: bash
7 changes: 7 additions & 0 deletions .github/actions/install-gflags-on-macos/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: install-gflags-on-macos
runs:
using: composite
steps:
- name: Install gflags on macos
run: HOMEBREW_NO_AUTO_UPDATE=1 brew install gflags
shell: bash
7 changes: 7 additions & 0 deletions .github/actions/install-gflags/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: install-gflags
runs:
using: composite
steps:
- name: Install gflags
run: sudo apt-get update -y && sudo apt-get install -y libgflags-dev
shell: bash
9 changes: 9 additions & 0 deletions .github/actions/install-jdk8-on-macos/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: install-jdk8-on-macos
runs:
using: composite
steps:
- name: Install JDK 8 on macos
run: |-
HOMEBREW_NO_AUTO_UPDATE=1 brew tap bell-sw/liberica
HOMEBREW_NO_AUTO_UPDATE=1 brew install --cask liberica-jdk8
shell: bash
38 changes: 38 additions & 0 deletions .github/actions/post-steps/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: post-steps
description: Steps that are taken after a RocksDB job
inputs:
artifact-prefix:
description: Prefix to append to the name of artifacts that are uploaded
required: true
default: "${{ github.job }}"
runs:
using: composite
steps:
- name: Upload Test Results artifact
uses: actions/upload-artifact@v4.0.0
with:
name: "${{ inputs.artifact-prefix }}-test-results"
path: "${{ runner.temp }}/test-results/**"
- name: Upload DB LOG file artifact
uses: actions/upload-artifact@v4.0.0
with:
name: "${{ inputs.artifact-prefix }}-db-log-file"
path: LOG
- name: Copy Test Logs (on Failure)
if: ${{ failure() }}
run: |
mkdir -p ${{ runner.temp }}/failure-test-logs
cp -r t/* ${{ runner.temp }}/failure-test-logs
shell: bash
- name: Upload Test Logs (on Failure) artifact
uses: actions/upload-artifact@v4.0.0
with:
name: "${{ inputs.artifact-prefix }}-failure-test-logs"
path: ${{ runner.temp }}/failure-test-logs/**
if-no-files-found: ignore
- name: Upload Core Dumps artifact
uses: actions/upload-artifact@v4.0.0
with:
name: "${{ inputs.artifact-prefix }}-core-dumps"
path: "core.*"
if-no-files-found: ignore
5 changes: 5 additions & 0 deletions .github/actions/pre-steps-macos/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
name: pre-steps-macos
runs:
using: composite
steps:
- uses: "./.github/actions/pre-steps"
18 changes: 18 additions & 0 deletions .github/actions/pre-steps/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: pre-steps
runs:
using: composite
steps:
- name: Setup Environment Variables
run: |-
echo "GTEST_THROW_ON_FAILURE=0" >> "$GITHUB_ENV"
echo "GTEST_OUTPUT=\"xml:${{ runner.temp }}/test-results/\"" >> "$GITHUB_ENV"
echo "SKIP_FORMAT_BUCK_CHECKS=1" >> "$GITHUB_ENV"
echo "GTEST_COLOR=1" >> "$GITHUB_ENV"
echo "CTEST_OUTPUT_ON_FAILURE=1" >> "$GITHUB_ENV"
echo "CTEST_TEST_TIMEOUT=300" >> "$GITHUB_ENV"
echo "ZLIB_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/zlib" >> "$GITHUB_ENV"
echo "BZIP2_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/bzip2" >> "$GITHUB_ENV"
echo "SNAPPY_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/snappy" >> "$GITHUB_ENV"
echo "LZ4_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/lz4" >> "$GITHUB_ENV"
echo "ZSTD_DOWNLOAD_BASE=https://rocksdb-deps.s3.us-west-2.amazonaws.com/pkgs/zstd" >> "$GITHUB_ENV"
shell: bash
7 changes: 7 additions & 0 deletions .github/actions/setup-folly/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: setup-folly
runs:
using: composite
steps:
- name: Checkout folly sources
run: make checkout_folly
shell: bash
20 changes: 20 additions & 0 deletions .github/actions/setup-upstream/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: build-folly
runs:
using: composite
steps:
- name: Fix repo ownership
# Needed in some cases, as safe.directory setting doesn't take effect
# under env -i
run: chown `whoami` . || true
shell: bash
- name: Set upstream
run: git remote add upstream https://github.com/facebook/rocksdb.git
shell: bash
- name: Fetch upstream
run: git fetch upstream
shell: bash
- name: Git status
# NOTE: some old branch builds under check_format_compatible.sh invoke
# git under env -i
run: git status && git remote -v && env -i git branch
shell: bash
Loading
Loading