mirror of https://github.com/fafhrd91/actix-net
fix macos and mingw
This commit is contained in:
parent
6a39563967
commit
6e333c1fd1
|
@ -26,6 +26,10 @@ jobs:
|
||||||
runs-on: ${{ matrix.target.os }}
|
runs-on: ${{ matrix.target.os }}
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- uses: Setup Routing
|
||||||
|
if: matrix.target.os == 'macos-latest'
|
||||||
|
run: sudo ifconfig lo0 alias 127.0.0.3
|
||||||
|
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
|
|
||||||
- name: Install ${{ matrix.version }}
|
- name: Install ${{ matrix.version }}
|
||||||
|
@ -70,6 +74,7 @@ jobs:
|
||||||
args: --workspace --bins --examples --tests
|
args: --workspace --bins --examples --tests
|
||||||
|
|
||||||
- name: tests
|
- name: tests
|
||||||
|
if: matrix.target.triple != 'x86_64-pc-windows-gnu'
|
||||||
uses: actions-rs/cargo@v1
|
uses: actions-rs/cargo@v1
|
||||||
with:
|
with:
|
||||||
command: test
|
command: test
|
||||||
|
|
Loading…
Reference in New Issue