Skip to content

Commit

Permalink
add ipv6 with small test, and change source to disable local LAN disc…
Browse files Browse the repository at this point in the history
…overy.

this should show that IPv6 works on the linux screenshot.
  • Loading branch information
zoff99 committed Apr 16, 2024
1 parent e9f4c69 commit 0652037
Showing 1 changed file with 28 additions and 0 deletions.
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

0 comments on commit 0652037

Please sign in to comment.