Skip to content

Commit

Permalink
testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vaguue committed Jul 14, 2024
1 parent 182c3a1 commit 994d54a
Showing 1 changed file with 11 additions and 12 deletions.
23 changes: 11 additions & 12 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -56,26 +57,24 @@ 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
- name: Build and Text
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
Expand Down

0 comments on commit 994d54a

Please sign in to comment.