Skip to content

Commit 8052b6b

Browse files
Try to get this working for ubunut-jammy
1 parent f292ef1 commit 8052b6b

1 file changed

Lines changed: 35 additions & 5 deletions

File tree

.github/workflows/rpc-tests.yml

Lines changed: 35 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,11 @@ jobs:
1616
sys:
1717
# x64
1818
- ubuntu-latest-16-cores
19-
# ARM
20-
- ubuntu-jammy-16-cores-arm64
2119
# Intel
2220
- macos-13
23-
# exclude:
21+
exclude:
2422
# Only run Linux x64 tests on pull request to save some time
25-
# - sys: ${{ github.event_name != 'push' && 'ubuntu-jammy-16-cores-arm64' }}
26-
# - sys: ${{ github.event_name != 'push' && 'macos-13' }}
23+
- sys: ${{ github.event_name != 'push' && 'macos-13' }}
2724
runs-on: ${{ matrix.sys }}
2825
steps:
2926
- uses: stellar/quickstart@main
@@ -43,3 +40,36 @@ jobs:
4340
- run: rustup target add wasm32-unknown-unknown
4441
- run: make build-test-wasms
4542
- run: SOROBAN_PORT=8000 cargo test --features it --package soroban-test --test it -- integration --test-threads=1
43+
44+
test-ubuntu-jammy-16-cores-arm64:
45+
strategy:
46+
fail-fast: false
47+
matrix:
48+
sys:
49+
# ARM
50+
- ubuntu-jammy-16-cores-arm64
51+
# exclude:
52+
# Only run Linux x64 tests on pull request to save some time
53+
# - sys: ${{ github.event_name != 'push' && 'ubuntu-jammy-16-cores-arm64' }}
54+
runs-on: ${{ matrix.sys }}
55+
steps:
56+
- uses: stellar/quickstart@main
57+
with:
58+
tag: testing
59+
- uses: actions/checkout@v4
60+
- uses: stellar/actions/rust-cache@main
61+
- run: rustup update
62+
- run: rustup target add wasm32-unknown-unknown
63+
- run: make build-test-wasms
64+
- run: sudo apt update && sudo apt install -y libudev-dev libdbus-1-dev gnome-keyring dbus dbus-x11
65+
- name: Run tests in dbus session with gnome-keyring
66+
run: |
67+
dbus-run-session -- bash -c '
68+
eval "$(gnome-keyring-daemon --start --components=secrets)"
69+
export SECRET_TOOL_PROMPT=1
70+
echo "GNOME_KEYRING_CONTROL=$GNOME_KEYRING_CONTROL"
71+
echo "SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
72+
cargo build --features additional-libs
73+
cargo test --features it --package soroban-test --test it -- integration --test-threads=1
74+
SOROBAN_PORT=8000 cargo test --features it --package soroban-test --test it -- integration --test-threads=1
75+
'

0 commit comments

Comments
 (0)