mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-28 23:00:03 +00:00
Update CI to GCC/Clang 11
This commit is contained in:
12
.github/workflows/build.yml
vendored
12
.github/workflows/build.yml
vendored
@@ -14,7 +14,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
cxx: [g++-9, clang++-9]
|
cxx: [g++-11, clang++-11]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: cmake
|
- name: cmake
|
||||||
@@ -103,7 +103,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
cxx: [g++-9, clang++-9]
|
cxx: [g++-11, clang++-11]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
- name: cmake
|
- name: cmake
|
||||||
@@ -119,7 +119,7 @@ jobs:
|
|||||||
- name: test
|
- name: test
|
||||||
working-directory: tests
|
working-directory: tests
|
||||||
run: bash JavaTest.sh
|
run: bash JavaTest.sh
|
||||||
|
|
||||||
build-kotlin:
|
build-kotlin:
|
||||||
name: Build Kotlin
|
name: Build Kotlin
|
||||||
runs-on: macos-latest
|
runs-on: macos-latest
|
||||||
@@ -127,13 +127,13 @@ jobs:
|
|||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v1
|
uses: actions/checkout@v1
|
||||||
- name: Build
|
- name: Build
|
||||||
working-directory: kotlin
|
working-directory: kotlin
|
||||||
run: ./gradlew clean build allTests
|
run: ./gradlew clean build allTests
|
||||||
- name: Run Benchmark
|
- name: Run Benchmark
|
||||||
working-directory: kotlin
|
working-directory: kotlin
|
||||||
run: ./gradlew benchmark
|
run: ./gradlew benchmark
|
||||||
- name: Generate Benchmark Report
|
- name: Generate Benchmark Report
|
||||||
working-directory: kotlin
|
working-directory: kotlin
|
||||||
run: |
|
run: |
|
||||||
./gradlew jmhReport;
|
./gradlew jmhReport;
|
||||||
mv benchmark/build/reports/benchmarks/main/* benchmark_latest
|
mv benchmark/build/reports/benchmarks/main/* benchmark_latest
|
||||||
|
|||||||
Reference in New Issue
Block a user