From b4e67f9bf0486f5f5187cf7ad2391950beb2595a Mon Sep 17 00:00:00 2001 From: Ivan Dlugos <6349682+vaind@users.noreply.github.com> Date: Thu, 20 May 2021 21:00:51 +0200 Subject: 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 --- .github/workflows/build.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to '.github') 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 -- cgit v1.2.3