From 994d54ac8f132e3e01e73d110c5b18a531430b30 Mon Sep 17 00:00:00 2001 From: vaguue Date: Sun, 14 Jul 2024 18:46:54 +0300 Subject: [PATCH] testing ci --- .github/workflows/ci.yaml | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1d3498c..9765c67 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -31,7 +31,8 @@ jobs: name: "Build" strategy: matrix: - os: [ubuntu-latest, windows-latest, macos-latest] + os: [ubuntu-latest, macos-latest] + #os: [ubuntu-latest, windows-latest, macos-latest] runs-on: ${{ matrix.os }} steps: - name: Checkout code @@ -56,18 +57,16 @@ jobs: run: | brew update brew install libpcap - #- name: Install npcap on Windows - # if: matrix.os == 'windows-latest' - # env: - # NPCAP_OEM_URL: ${{ secrets.NPCAP_OEM_URL }} - # run: | - # Invoke-WebRequest -Uri "$env:NPCAP_OEM_URL" -OutFile "$env:TEMP/npcap-oem.exe" - # # for this ridiculous `&` syntax alone, I'd rather use COBOL than Powershell - # # see https://stackoverflow.com/a/1674950/5637701 - # & "$env:TEMP/npcap-oem.exe" /S - name: Install npcap on Windows if: matrix.os == 'windows-latest' - run: choco install nmap && choco install wireshark + run: | + Invoke-WebRequest -Uri "$env:NPCAP_OEM_URL" -OutFile "$env:TEMP/npcap-oem.exe" + # for this ridiculous `&` syntax alone, I'd rather use COBOL than Powershell + # see https://stackoverflow.com/a/1674950/5637701 + & "$env:TEMP/npcap-oem.exe" /S + #- name: Install npcap on Windows + # if: matrix.os == 'windows-latest' + # run: choco install nmap && choco install wireshark - name: Submodule update run: git submodule update --init --recursive shell: bash @@ -75,7 +74,7 @@ jobs: run: npm i && npm run build && npm run test shell: bash - name: Prebuild - run: npm run prebuild && zip -r prebuilds-${{ matrix.os }}.zip prebuilds + run: npm run prebuild && ls prebuilds && zip -r prebuilds-${{ matrix.os }}.zip prebuilds shell: bash - name: ls run: ls