@@ -3,34 +3,42 @@ name: Test
33on : [pull_request]
44jobs :
55 test :
6- runs-on : ubuntu-20 .04
6+ runs-on : ubuntu-24 .04
77 steps :
88 - name : Prepare repository
99 uses : actions/checkout@v4
1010 - name : Install Flutter
1111 uses : subosito/flutter-action@v2
1212 with :
13- flutter-version : ' 3.19.6 '
13+ flutter-version : ' 3.38.1 '
1414 channel : ' stable'
15- - name : Setup | Rust
16- uses : dtolnay/rust-toolchain@stable
17- with :
18- components : clippy
15+
16+ # - name: Setup | Rust
17+ # uses: dtolnay/rust-toolchain@stable
18+ # with:
19+ # components: clippy
1920 - name : Checkout submodules
2021 run : git submodule update --init --recursive
22+
2123 - name : install dependencies
2224 run : |
2325 cargo install cargo-ndk
2426 rustup target add x86_64-unknown-linux-gnu
25- sudo apt clean
2627 sudo apt update
27- sudo apt install -y unzip automake build-essential file pkg-config git python libtool libtinfo5 cmake openjdk-8-jre-headless libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev llvm debhelper libclang-dev opencl-headers libssl-dev ocl-icd-opencl-dev libc6-dev-i386
28- - name : Build Epic Cash
28+ sudo apt install -y meson ninja-build libglib2.0-dev libgcrypt20-dev libgirepository1.0-dev unzip automake build-essential file pkg-config git python3 libtool cmake openjdk-8-jre-headless libgit2-dev clang libncurses5-dev libncursesw5-dev zlib1g-dev llvm debhelper libclang-dev opencl-headers libssl-dev ocl-icd-opencl-dev libc6-dev-i386
29+ # - name: Build Epic Cash
30+ #run: |
31+ #cd crypto_plugins/flutter_libepiccash/scripts/linux/
32+ #./build_all.sh
33+
34+ - name : Configure app
2935 run : |
30- cd crypto_plugins/flutter_libepiccash/scripts/linux/
31- ./build_all.sh
36+ cd scripts
37+ yes yes | ./build_app.sh -v "0.0.1" -b "1" -p "linux" -a "stack_wallet" || true
38+
3239 - name : Get dependencies
3340 run : flutter pub get
41+
3442 - name : Create temp files
3543 id : secret-file1
3644 run : |
8593 BITCOINCASH_TEST : ${{ secrets.BITCOINCASH_TEST }}
8694 NAMECOIN_TEST : ${{ secrets.NAMECOIN_TEST }}
8795 PARTICL_TEST : ${{ secrets.PARTICL_TEST }}
96+
97+ - name : Verify Dart formatting
98+ run : dart format --output=none --set-exit-if-changed .
99+
88100# - name: Analyze
89101# run: flutter analyze
90102 - name : Test
0 commit comments