Skip to content

Commit b472338

Browse files
committed
Gate Linux smoke IP check by architecture
1 parent 0aa7070 commit b472338

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

.github/workflows/build-linux.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -215,7 +215,11 @@ jobs:
215215
run: |
216216
set -euxo pipefail
217217
TEST_START_UTC="$(date -u '+%Y-%m-%d %H:%M:%S')"
218-
sg lantern -c "env PATH=$PATH HOME=$HOME xvfb-run -a flutter test integration_test/vpn/linux_connect_smoke_test.dart -d linux --dart-define=DISABLE_SYSTEM_TRAY=true --dart-define=ENABLE_IP_CHECK=true"
218+
ENABLE_IP_CHECK=false
219+
if [[ "${TARGET_ARCH}" == "amd64" ]]; then
220+
ENABLE_IP_CHECK=true
221+
fi
222+
sg lantern -c "env PATH=$PATH HOME=$HOME xvfb-run -a flutter test integration_test/vpn/linux_connect_smoke_test.dart -d linux --dart-define=DISABLE_SYSTEM_TRAY=true --dart-define=ENABLE_IP_CHECK=${ENABLE_IP_CHECK}"
219223
220224
sudo journalctl -u lanternd.service --since "$TEST_START_UTC" --no-pager > /tmp/lanternd-journal-ui-smoke.log
221225

0 commit comments

Comments
 (0)