diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 460d07b..ea3c647 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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' }}