Skip to content

Commit 87f6971

Browse files
authored
Merge branch 'staging' into use_system_secure_storage_deps
2 parents 7147de2 + 8c339cf commit 87f6971

3 files changed

Lines changed: 11 additions & 23 deletions

File tree

.github/workflows/build-ci-image.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@ name: Build CI image
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, staging]
66
paths:
77
- 'Dockerfile'
88
- '.github/workflows/build-ci-image.yaml'
99
workflow_dispatch:
1010

1111
env:
12-
IMAGE: YOUR_DOCKERHUB_USERNAME/stack-wallet-ci
12+
IMAGE: ${{ secrets.DOCKERHUB_USERNAME }}/stackwallet-ci
1313

1414
jobs:
1515
build:

.github/workflows/test.yaml

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,20 @@
1-
#should deny
21
name: Test
32
on: [pull_request]
43
jobs:
54
test:
65
runs-on: ubuntu-24.04
6+
container:
7+
image: stackwallet/stackwallet-ci:latest
8+
credentials:
9+
username: ${{ secrets.DOCKERHUB_USERNAME }}
10+
password: ${{ secrets.DOCKERHUB_TOKEN }}
711
steps:
812
- name: Prepare repository
913
uses: actions/checkout@v6
1014
with:
1115
fetch-depth: 0
1216
submodules: recursive
1317

14-
- name: Install Flutter
15-
uses: subosito/flutter-action@v2
16-
with:
17-
flutter-version: '3.38.1'
18-
channel: 'stable'
19-
20-
- name: install dependencies
21-
run: |
22-
cargo install cargo-ndk
23-
rustup install 1.85.1 1.89.0
24-
rustup target add x86_64-unknown-linux-gnu --toolchain 1.89.0
25-
sudo apt update
26-
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 valac libtss2-dev libsecret-1-dev libjsoncpp-dev
27-
# - name: Build Epic Cash
28-
#run: |
29-
#cd crypto_plugins/flutter_libepiccash/scripts/linux/
30-
#./build_all.sh
31-
3218
- name: Configure app
3319
run: |
3420
cd scripts

Dockerfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
1111
build-essential automake cmake meson ninja-build pkg-config libtool \
1212
libglib2.0-dev libgtk-3-dev liblzma-dev \
1313
libgcrypt20-dev libgirepository1.0-dev \
14-
openjdk-8-jre-headless libgit2-dev clang \
14+
libgit2-dev clang rsync \
1515
libncurses5-dev libncursesw5-dev zlib1g-dev llvm debhelper \
1616
libclang-dev opencl-headers libssl-dev ocl-icd-opencl-dev \
17-
libc6-dev-i386 valac libtss2-dev \
17+
valac libtss2-dev libsecret-1-dev libjsoncpp-dev \
1818
&& rm -rf /var/lib/apt/lists/*
1919

2020
SHELL ["/bin/bash", "-o", "pipefail", "-c"]
@@ -43,4 +43,6 @@ RUN git clone --depth 1 --branch 3.38.1 https://github.com/flutter/flutter.git "
4343
&& flutter precache --linux \
4444
&& chmod -R a+rwX "$FLUTTER_HOME"
4545

46+
RUN git config --system --add safe.directory '*'
47+
4648
RUN flutter --version && rustc --version && cargo --version && node --version

0 commit comments

Comments
 (0)