fix SSL Medium Strength Cipher Suites bug #1653
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
name: FISCO-BCOS GitHub Actions | |
on: | |
push: | |
branches-ignore: | |
- "**-1.3" | |
- "**-1.5" | |
tags-ignore: | |
- v1.* | |
paths-ignore: | |
- "docs/**" | |
- "Changelog.md" | |
- "README.md" | |
pull_request: | |
paths-ignore: | |
- "docs/**" | |
- "Changelog.md" | |
- "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] | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- name: check commit | |
if: ${{ runner.os == 'Linux' && github.base_ref != 'master' && github.event_name == 'pull_request' }} | |
run: bash tools/ci/check-commit.sh | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: deps/src | |
key: deps-v10-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
deps-v10-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
deps-v10-${{ runner.temp }}-${{ github.base_ref }}- | |
deps-v10-${{ runner.temp }}- | |
- uses: actions/cache@v2 | |
id: ccache | |
with: | |
path: ccache | |
key: ccache-v4-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
ccache-v4-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
ccache-v4-${{ runner.temp }}-${{ github.base_ref }}- | |
ccache-v4-${{ runner.temp }}- | |
- name: install Ubuntu dependencies | |
if: runner.os == 'Linux' | |
run: sudo apt install -y g++ libssl-dev openssl cmake git build-essential autoconf texinfo flex patch bison libgmp-dev zlib1g-dev automake libtool | |
- name: Setup cmake | |
if: runner.os == 'Linux' | |
uses: jwlawson/[email protected] | |
with: | |
cmake-version: '3.21.0' | |
- name: configure | |
run: cmake -DTESTS=ON -DBUILD_STATIC=ON -DTOOL=ON -DCMAKE_BUILD_TYPE=Release . | |
- name: compile | |
run: make -j2 | |
- name: run uint tests | |
run: CTEST_OUTPUT_ON_FAILURE=TRUE make test | |
- name: tar fisco-bcos for ubuntu | |
run: cp tools/build_chain.sh bin/ && cd bin && strip fisco-bcos && tar -zcf fisco-bcos.tar.gz fisco-bcos build_chain.sh | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: fisco-bcos.tar.gz | |
path: bin/fisco-bcos.tar.gz | |
build_macOS: | |
name: build_macOS | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- name: check commit | |
if: ${{ runner.os == 'Linux' && github.base_ref != 'master' && github.event_name == 'pull_request' }} | |
run: bash tools/ci/check-commit.sh | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: deps/src | |
key: deps-v10-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
deps-v10-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
deps-v10-${{ runner.temp }}-${{ github.base_ref }}- | |
deps-v10-${{ runner.temp }}- | |
- uses: actions/cache@v2 | |
id: ccache | |
with: | |
path: ccache | |
key: ccache-v4-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
ccache-v4-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
ccache-v4-${{ runner.temp }}-${{ github.base_ref }}- | |
ccache-v4-${{ runner.temp }}- | |
- name: install macOS dependencies | |
if: runner.os == 'macOS' | |
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: cmake -DTESTS=ON . | |
- name: compile | |
run: make -j2 | |
- name: run uint tests | |
run: CTEST_OUTPUT_ON_FAILURE=TRUE make test | |
- name: tar fisco-bcos for ubuntu | |
run: cp tools/build_chain.sh bin/ && cd bin && strip fisco-bcos && tar -zcf fisco-bcos.tar.gz fisco-bcos build_chain.sh | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: fisco-bcos.tar.gz | |
path: bin/fisco-bcos.tar.gz | |
macOS_integration_test: | |
name: build_integration_test | |
runs-on: macos-14 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: deps/src | |
key: deps-v7-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
deps-v7-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
deps-v7-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
deps-v7-notest-${{ runner.temp }}- | |
deps-v7-${{ runner.temp }}- | |
- uses: actions/cache@v2 | |
id: ccache | |
with: | |
path: ccache | |
key: ccache-v2-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
ccache-v2-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
ccache-v2-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
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: xcode-select -p;export SDKROOT="`xcrun --show-sdk-path`";CC=/usr/bin/clang CXX=/usr/bin/clang++;cmake . | |
- name: compile | |
run: export SDKROOT="`xcrun --show-sdk-path`";CC=/usr/bin/clang CXX=/usr/bin/clang++;make -j2 | |
- name: run integration testing | |
run: cd tools && bash ci/ci_check.sh | |
- name: tar fisco-bcos for macOS | |
run: cp tools/build_chain.sh bin/ && cd bin && strip fisco-bcos && tar -zcf fisco-bcos.tar.gz fisco-bcos build_chain.sh | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: fisco-bcos-macOS.tar.gz | |
path: bin/fisco-bcos.tar.gz | |
ubuntu20_integration_test: | |
name: ubuntu20_test | |
runs-on: ubuntu-20.04 | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 5 | |
- uses: actions/cache@v2 | |
id: cache | |
with: | |
path: deps/src | |
key: deps-v5-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
deps-v5-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
deps-v5-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
deps-v5-notest-${{ runner.temp }}- | |
deps-v5-${{ runner.temp }}- | |
- uses: actions/cache@v2 | |
id: ccache | |
with: | |
path: ccache | |
key: ccache-v3-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
restore-keys: | | |
ccache-v3-notest-${{ runner.temp }}-${{ github.base_ref }}-${{ hashFiles('.github/workflows/workflow.yml') }} | |
ccache-v3-notest-${{ runner.temp }}-${{ github.base_ref }}- | |
ccache-v3-notest-${{ runner.temp }}- | |
- 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@v2 | |
with: | |
cmake-version: '3.21.0' | |
- name: configure | |
run: cmake . -DBUILD_STATIC=ON | |
- name: compile | |
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 | |
run: cp tools/build_chain.sh bin/ && cd bin && strip fisco-bcos && tar -zcf fisco-bcos.tar.gz fisco-bcos build_chain.sh | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: fisco-bcos.tar.gz | |
path: bin/fisco-bcos.tar.gz |