|
|
|
@@ -20,7 +20,7 @@ jobs:
|
|
|
|
|
- name: cmake
|
|
|
|
|
run: CXX=${{ matrix.cxx }} cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release .
|
|
|
|
|
- name: build
|
|
|
|
|
run: make -j4
|
|
|
|
|
run: make -j
|
|
|
|
|
- name: test
|
|
|
|
|
run: ./flattests
|
|
|
|
|
- name: make flatc executable
|
|
|
|
@@ -147,7 +147,7 @@ jobs:
|
|
|
|
|
- name: set up flatc
|
|
|
|
|
run: |
|
|
|
|
|
cmake -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF .
|
|
|
|
|
make
|
|
|
|
|
make -j
|
|
|
|
|
echo "${PWD}" >> $GITHUB_PATH
|
|
|
|
|
- name: build
|
|
|
|
|
working-directory: android
|
|
|
|
@@ -162,7 +162,7 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- name: cmake
|
|
|
|
|
run: CXX=${{ matrix.cxx }} cmake -G "Unix Makefiles" -DFLATBUFFERS_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release . && make -j4
|
|
|
|
|
run: CXX=${{ matrix.cxx }} cmake -G "Unix Makefiles" -DFLATBUFFERS_BUILD_TESTS=OFF -DCMAKE_BUILD_TYPE=Release . && make -j
|
|
|
|
|
- name: Generate
|
|
|
|
|
run: scripts/check_generate_code.py
|
|
|
|
|
- name: Generate gRPC
|
|
|
|
@@ -177,7 +177,7 @@ jobs:
|
|
|
|
|
steps:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- name: cmake
|
|
|
|
|
run: CXX=${{ matrix.cxx }} cmake -G "Unix Makefiles" -DFLATBUFFERS_CXX_FLAGS="-Wno-unused-parameter -fno-aligned-new" -DFLATBUFFERS_BUILD_BENCHMARKS=ON -DCMAKE_BUILD_TYPE=Release . && make -j4
|
|
|
|
|
run: CXX=${{ matrix.cxx }} cmake -G "Unix Makefiles" -DFLATBUFFERS_CXX_FLAGS="-Wno-unused-parameter -fno-aligned-new" -DFLATBUFFERS_BUILD_BENCHMARKS=ON -DCMAKE_BUILD_TYPE=Release . && make -j
|
|
|
|
|
- name: Run benchmarks
|
|
|
|
|
run: ./flatbenchmark --benchmark_repetitions=5 --benchmark_display_aggregates_only=true --benchmark_out_format=console --benchmark_out=benchmarks/results_${{matrix.cxx}}
|
|
|
|
|
- name: Upload benchmarks results
|
|
|
|
@@ -261,7 +261,7 @@ jobs:
|
|
|
|
|
- uses: actions/checkout@v2
|
|
|
|
|
- name: flatc
|
|
|
|
|
# FIXME: make test script not rely on flatc
|
|
|
|
|
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_INSTALL=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF . && make -j4
|
|
|
|
|
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_INSTALL=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF . && make -j
|
|
|
|
|
- name: test
|
|
|
|
|
working-directory: tests
|
|
|
|
|
run: bash GoTest.sh
|
|
|
|
@@ -296,7 +296,7 @@ jobs:
|
|
|
|
|
sdk: stable
|
|
|
|
|
- name: flatc
|
|
|
|
|
# FIXME: make test script not rely on flatc
|
|
|
|
|
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_INSTALL=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF . && make -j4
|
|
|
|
|
run: cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -DFLATBUFFERS_BUILD_TESTS=OFF -DFLATBUFFERS_INSTALL=OFF -DFLATBUFFERS_BUILD_FLATLIB=OFF -DFLATBUFFERS_BUILD_FLATHASH=OFF . && make -j
|
|
|
|
|
- name: test
|
|
|
|
|
working-directory: tests
|
|
|
|
|
run: bash DartTest.sh
|
|
|
|
|