Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ipv6 with small test, and change source to disable local LAN discovery. this should show that IPv6 works on the linux screenshot. #211

Merged
merged 1 commit into from
Apr 16, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -552,6 +552,27 @@ jobs:
- name: os version
run: uname -a

# This is necessary because GitHub Actions does not support IPv6 yet
# And if a user has `ipv6: true` set in their yaml config, it wouldn't work otherwise
# <https://github.com/actions/runner-images/issues/668#issuecomment-1872487355>
- name: show ip
run: |
ip addr

- name: Setup WARP
uses: fscarmen/[email protected]
with:
stack: ipv6 # Optional. Support [ ipv4, ipv6, dual ]. Default is dual.

- name: ipv6
run: |
curl -m 9 --ipv6 --verbose https://google.com
curl -m 9 -6 https://ifconfig.co

- name: show ip
run: |
ip addr

- name: install deps
run: |
sudo apt-get update
Expand Down Expand Up @@ -600,6 +621,13 @@ jobs:
cat /tmp/a.sh
chmod a+rx /tmp/a.sh

- name: patch-app
run: |
pwd
ls -al
sed -i -e 's#PREF__local_discovery_enabled = local_discovery_int#PREF__local_discovery_enabled = 0#' src/main/kotlin/com/zoffcc/applications/trifa/MainActivity.kt
git diff||echo "NO ERR"

- name: startup-app
run: |
pwd
Expand Down
Loading