Skip to content

Commit

Permalink
testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vaguue committed Aug 11, 2024
1 parent 613eb0a commit 511bd5a
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,7 @@ jobs:
name: "Build"
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
#os: [ubuntu-latest, windows-latest, macos-latest]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
Expand All @@ -57,24 +56,24 @@ jobs:
run: |
brew update
brew install libpcap
- name: Install npcap on Windows
if: matrix.os == 'windows-latest'
run: choco install nmap && choco install wireshark
- name: Install npcap on Windows
if: matrix.os == 'windows-latest'
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
- name: Build and Text
run: npm i && npm run build && npm run test
shell: bash
- name: Prebuild
run: npm run prebuild && ls prebuilds && zip -r prebuilds-${{ matrix.os }}.zip prebuilds
run: npm run precompile && ls prebuilds && zip -r prebuilds-${{ matrix.os }}.zip prebuilds
shell: bash
- name: ls
run: ls
Expand Down

0 comments on commit 511bd5a

Please sign in to comment.