From 6f07d406f854aa257a8470349221588a06d8c23b Mon Sep 17 00:00:00 2001 From: Nick Fisher Date: Thu, 3 Jul 2025 16:05:49 +0800 Subject: [PATCH] (CI) move compile-web-wasm to own step --- .github/workflows/dart.yml | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/.github/workflows/dart.yml b/.github/workflows/dart.yml index 869549f2..886ea7fc 100644 --- a/.github/workflows/dart.yml +++ b/.github/workflows/dart.yml @@ -7,6 +7,20 @@ on: branches: [ "develop" ] jobs: + compile-web-wasm: + runs-on: ubuntu-22.04 + steps: + - uses: actions/checkout@v4 + - name: Setup CMake + uses: jwlawson/actions-setup-cmake@v2 + with: + cmake-version: '3.25.0' # or 'latest' + - name: Setup Emscripten + uses: mymindstorm/setup-emsdk@v14 + with: + version: 'latest' + - name: Compile web + run: make wasm dart-tests: runs-on: ubuntu-22.04 steps: @@ -58,17 +72,6 @@ jobs: path: | ${{ github.workspace }}/thermion_dart/.dart_tool/thermion_dart/log/build.log retention-days: 5 - - name: Setup CMake - uses: jwlawson/actions-setup-cmake@v2 - with: - cmake-version: '3.25.0' # or 'latest' - - name: Setup Emscripten - uses: mymindstorm/setup-emsdk@v14 - with: - version: '3.1.45' # or 'latest' - - name: Compile web - run: make wasm - flutter_examples: name: flutter_examples runs-on: macos-latest