-
Notifications
You must be signed in to change notification settings - Fork 63
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* ci: add a actions for import-braft branch temporarily
- Loading branch information
1 parent
540f937
commit 74c584b
Showing
8 changed files
with
80 additions
and
22 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,58 @@ | ||
name: Import BRaft Actions (Temporary) | ||
|
||
on: | ||
push: | ||
pull_request: | ||
branches: [ "import-braft" ] | ||
|
||
jobs: | ||
check_format: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
run: bash ci/build.sh | ||
|
||
- name: Check Format | ||
working-directory: ${{ github.workspace }}/build | ||
run: make check-format | ||
|
||
build_on_macos: | ||
runs-on: macos-latest | ||
needs: check_format | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
env: | ||
CPLUS_INCLUDE_PATH: /usr/local/opt/openssl/include | ||
run: | | ||
sh build.sh | ||
- name: Run Go E2E Tests | ||
working-directory: ${{ github.workspace }}/build | ||
run: | | ||
cd ../tests | ||
go mod tidy | ||
go test ./pikiwidb_suite_test.go ./consistency_test.go -v | ||
build_on_ubuntu: | ||
runs-on: ubuntu-latest | ||
needs: check_format | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Build | ||
run: | | ||
bash build.sh | ||
- name: Run Go E2E Tests | ||
working-directory: ${{ github.workspace }}/build | ||
run: | | ||
cd ../tests | ||
go mod tidy | ||
go test ./pikiwidb_suite_test.go ./consistency_test.go -v |
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
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 |
---|---|---|
|
@@ -7,6 +7,7 @@ | |
|
||
#pragma once | ||
|
||
#include <array> | ||
#include <atomic> | ||
#include <deque> | ||
#include <functional> | ||
|