Skip to content

Commit

Permalink
testing ci
Browse files Browse the repository at this point in the history
  • Loading branch information
vaguue committed Jul 13, 2024
1 parent 9199145 commit d2c963e
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
21 changes: 12 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -66,12 +66,15 @@ jobs:
- name: Build and Text
run: npm i && npm run build && npm run test
shell: bash
#- name: Upload
# uses: actions/upload-release-asset@v1
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# upload_url: ${{ needs.draft_release.outputs.upload_url }}
# asset_path: dist/javet/Ghidra.js.zip
# asset_name: ${{ matrix.build-prefix }}-Ghidra.js-Javet-Ghidra_${{ matrix.ghidra }}.zip
# asset_content_type: application/zip
- name: Prebuild
run: npm run prebuild && zip -r prebuids-${{ matrix.os }}.zip prebuilds
shell: bash
- name: Upload
uses: actions/upload-release-asset@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ needs.draft_release.outputs.upload_url }}
asset_path: prebuilds-${{ matrix.os }}.zip
asset_name: prebuilds-${{ matrix.os }}.zip
asset_content_type: application/zip
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"rebuild-debug": "cmake-js compile -D",
"build-debug": "cmake-js build -D",
"rebuild": "cmake-js compile",
"prebuild": "prebuild --backend cmake-js -r node -t 14.21.3 -t 16.20.2 -t 20.13.1 -t 21.5.0",
"build": "cmake-js build",
"test": "node --test test/*.test.js",
"test-cov-text": "node --test --experimental-test-coverage test/*.test.js",
Expand Down
3 changes: 3 additions & 0 deletions test/liveDevice.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ test('LiveDevice', (t) => {
return false;
}) ?? [];

console.log('os.networkInterfaces()', os.networkInterfaces());
console.log('ifaceName', ifaceName);

if (!ifaceName) return;

const dev = new LiveDevice({ iface: ifaceName });
Expand Down

0 comments on commit d2c963e

Please sign in to comment.