mirror of
https://github.com/Zxilly/UA2F.git
synced 2026-01-07 10:55:22 +00:00
ci: enable ipv6
This commit is contained in:
parent
4075a71368
commit
c9f0943f72
17
.github/workflows/ci.yml
vendored
17
.github/workflows/ci.yml
vendored
@ -99,22 +99,19 @@ jobs:
|
||||
run: |
|
||||
sudo pip install -r scripts/requirements.txt
|
||||
|
||||
- name: Configure ipv6
|
||||
run: |
|
||||
sudo sysctl -w net.ipv6.conf.all.use_tempaddr=0
|
||||
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=0
|
||||
sudo sysctl -w net.ipv6.conf.default.disable_ipv6=0
|
||||
|
||||
for interface in $(ip -br link show | awk '{print $1}'); do
|
||||
sudo sysctl -w net.ipv6.conf.${interface}.disable_ipv6=0
|
||||
done
|
||||
|
||||
- name: Enable ipv6
|
||||
uses: fscarmen/warp-on-actions@v1.3
|
||||
with:
|
||||
stack: dual
|
||||
mode: client
|
||||
|
||||
- name: Configure ipv6
|
||||
run: |
|
||||
echo "net.ipv6.conf.all.disable_ipv6=0" | sudo tee -a /etc/sysctl.conf
|
||||
echo "net.ipv6.conf.default.disable_ipv6=0" | sudo tee -a /etc/sysctl.conf
|
||||
echo "net.ipv6.conf.lo.disable_ipv6=0" | sudo tee -a /etc/sysctl.conf
|
||||
sudo sysctl -p
|
||||
|
||||
- name: Run unit tests
|
||||
run: |
|
||||
cmake -S . -B build -DUA2F_BUILD_TESTS=OFF -DUA2F_ENABLE_UCI=OFF -DUA2F_ENABLE_ASAN=ON ${{ matrix.cache == 'false' && '-DUA2F_NO_CACHE=ON' || '-DUA2F_NO_CACHE=OFF' }}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user