diff options
author | Ivan Dlugos <6349682+vaind@users.noreply.github.com> | 2021-05-20 21:00:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-20 12:00:51 -0700 |
commit | b4e67f9bf0486f5f5187cf7ad2391950beb2595a (patch) | |
tree | c285c2aa6975296d365b888f5e59257a384084b0 /.github | |
parent | 54c11932fa01c618d89d2325c3dd7bf3c106634c (diff) | |
download | flatbuffers-b4e67f9bf0486f5f5187cf7ad2391950beb2595a.tar.gz flatbuffers-b4e67f9bf0486f5f5187cf7ad2391950beb2595a.tar.bz2 flatbuffers-b4e67f9bf0486f5f5187cf7ad2391950beb2595a.zip |
Dart test fix (#6660)
* Dart cppData test - fix path on Dart v2.12 (Linux)
* Dart cppData test - fix expected data mismatch
* add Dart CI test in GH Actions
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/build.yml | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ce8bf5a2..f79c1024 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -227,3 +227,18 @@ jobs: - name: test working-directory: tests run: sh TypeScriptTest.sh + + build-dart: + name: Build Dart + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - uses: dart-lang/setup-dart@v1 + with: + 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 + - name: test + working-directory: tests + run: bash DartTest.sh |