Skip to content

Commit 15c95ec

Browse files
authored
Clean dotnet install logic (#499)
* Clean dotnet install logic * Update .appveyor.yml
1 parent 74d82b8 commit 15c95ec

File tree

6 files changed

+0
-69
lines changed

6 files changed

+0
-69
lines changed

Diff for: .circleci/config.yml

-2
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ jobs:
3434
image: ubuntu-2004:202201-02
3535
steps:
3636
- checkout
37-
- run: sudo -E bash scripts/install-dotnet.sh --install-dir /usr/local/bin
3837
- run: sudo -E bash scripts/install-tap.sh
3938
# Download and compile latest libpcap
4039
- when:
@@ -58,7 +57,6 @@ jobs:
5857
resource_class: arm.medium
5958
steps:
6059
- checkout
61-
- run: sudo -E bash scripts/install-dotnet.sh --install-dir /usr/local/bin
6260
- run: sudo -E bash scripts/install-tap.sh
6361
- run: sudo apt-get install libpcap0.8
6462
- run: sudo -E bash scripts/test.sh

Diff for: .github/workflows/dotnet-core.yml

-6
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,6 @@ jobs:
1616

1717
steps:
1818
- uses: actions/checkout@v4
19-
- name: Setup .NET Core
20-
uses: actions/setup-dotnet@v4
21-
with:
22-
dotnet-version: 6.0.x
23-
- name: Install .net dependencies
24-
run: dotnet restore
2519
- name: Install libpcap
2620
run: sudo -E bash scripts/install-libpcap.sh
2721
- name: Install tap

Diff for: .semaphore/semaphore.yml

-47
This file was deleted.

Diff for: azure-pipelines.yml

-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131
pool:
3232
vmImage: macOS-12
3333
steps:
34-
- script: sudo -E bash scripts/install-dotnet.sh
3534
- script: sudo -E bash scripts/install-libpcap.sh
3635
- script: sudo sysctl -w net.inet.udp.maxdgram=65535
3736
- script: sudo -E bash scripts/test.sh
@@ -48,7 +47,6 @@ jobs:
4847
env:
4948
npcap_oem_key: $(npcap_oem_key)
5049
- pwsh: .\scripts\install-winpkfilter.ps1
51-
- script: dotnet restore -s https://api.nuget.org/v3/index.json
5250
# NOTE: Remove filter when npcap has rpcapd support
5351
- script: bash scripts/test.sh --filter "TestCategory!=RemotePcap" -r win-x86
5452
env:
@@ -63,7 +61,6 @@ jobs:
6361
env:
6462
npcap_oem_key: $(npcap_oem_key)
6563
- pwsh: .\scripts\install-winpkfilter.ps1
66-
- script: dotnet restore -s https://api.nuget.org/v3/index.json
6764
# NOTE: Remove filter when npcap has rpcapd support
6865
- script: bash scripts/test.sh --filter "TestCategory!=RemotePcap"
6966
env:

Diff for: scripts/install-dotnet.sh

-10
This file was deleted.

Diff for: scripts/install-windows.ps1

-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,5 @@
22
# Copyright 2022 Ayoub Kaanich <[email protected]>
33
# SPDX-License-Identifier: MIT
44

5-
choco install -y dotnet-sdk --version=6.0.300
65
choco install -y tapwindows
76
choco install -y procdump

0 commit comments

Comments
 (0)