forked from FISCO-BCOS/FISCO-BCOS
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
when WITH_TBB=OFF not compile tbb library
- Loading branch information
1 parent
4cbb931
commit ad0340c
Showing
12 changed files
with
91 additions
and
54 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
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 |
---|---|---|
|
@@ -17,16 +17,16 @@ on: | |
- "README.md" | ||
release: | ||
types: [published, created, edited] | ||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
env: | ||
CCACHE_DIR: ${{ github.workspace }}/ccache | ||
|
||
jobs: | ||
build: | ||
name: build | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [ubuntu-latest] | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -73,11 +73,8 @@ jobs: | |
name: fisco-bcos.tar.gz | ||
path: bin/fisco-bcos.tar.gz | ||
build_macOS: | ||
name: build | ||
runs-on: ${{ matrix.os }} | ||
strategy: | ||
matrix: | ||
os: [macos-latest] | ||
name: build_macOS | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
|
@@ -105,9 +102,13 @@ jobs: | |
ccache-v4-${{ runner.temp }}- | ||
- name: install macOS dependencies | ||
if: runner.os == 'macOS' | ||
run: brew install [email protected] ccache gmp cmake zlib | ||
run: brew install [email protected] ccache gmp zlib cmake | ||
# - name: Setup cmake | ||
# uses: jwlawson/actions-setup-cmake@v2 | ||
# with: | ||
# cmake-version: '3.21.0' | ||
- name: configure | ||
run: CC=/usr/bin/clang CXX=/usr/bin/clang++ cmake -DTESTS=ON -DCMAKE_BUILD_TYPE=Release . | ||
run: cmake -DTESTS=ON . | ||
- name: compile | ||
run: make -j2 | ||
- name: run uint tests | ||
|
@@ -147,6 +148,10 @@ jobs: | |
ccache-v2-notest-${{ runner.temp }}- | ||
- name: install macOS dependencies | ||
run: brew install [email protected] ccache cmake | ||
# - name: Setup cmake | ||
# uses: jwlawson/actions-setup-cmake@v2 | ||
# with: | ||
# cmake-version: '3.21.0' | ||
- name: configure | ||
run: cmake . | ||
- name: compile | ||
|
@@ -189,13 +194,13 @@ jobs: | |
- name: install ubuntu dependencies | ||
run: sudo apt install -y g++ libssl-dev openssl git build-essential autoconf texinfo flex patch bison libgmp-dev zlib1g-dev automake libtool && sudo apt -y remove libtbb-dev | ||
- name: Setup cmake | ||
uses: jwlawson/actions-setup-cmake@v1.14 | ||
uses: jwlawson/actions-setup-cmake@v2 | ||
with: | ||
cmake-version: '3.21.0' | ||
- name: configure | ||
run: cmake . -DBUILD_STATIC=ON | ||
- name: compile | ||
run: make -j2 | ||
run: export SDKROOT="`xcrun --show-sdk-path`";make -j2 | ||
- name: run integration testing | ||
run: cd tools && bash ci/ci_check.sh | ||
- name: tar fisco-bcos for Linux | ||
|
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
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