Skip to content

Commit

Permalink
Update build-bindings.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
DomPeliniAerospike committed Feb 1, 2024
1 parent 816cebd commit 7037ba5
Showing 1 changed file with 3 additions and 22 deletions.
25 changes: 3 additions & 22 deletions .github/workflows/build-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ jobs:

- name: Disable tests (only run basic import test)
if: ${{ !inputs.run_tests }}
run: echo "TEST_COMMAND=node -e 'aerospike = require(\"aerospike\")'" >> $GITHUB_ENV
run: echo "TEST_COMMAND=node -e 'aerospike = require(\".\\lib\\aerospike\")'" >> $GITHUB_ENV


- run: sudo apt update
Expand All @@ -142,19 +142,12 @@ jobs:
run: |
./scripts/build-c-client.sh
npm install
npm list aerospike
env:
CFLAGS: '-Werror'

- name: foo test
run: |
npm install ..
working-directory: src

- name: Test client
run: |
${{ env.TEST_COMMAND }}
working-directory: src
- name: Send binding to test jobs
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -218,7 +211,7 @@ jobs:

- name: Disable tests (only run basic import test)
if: ${{ !inputs.run_tests }}
run: echo "TEST_COMMAND=node -e 'aerospike = require(\"aerospike\")'" >> $GITHUB_ENV
run: echo "TEST_COMMAND=node -e 'aerospike = require(\".\\lib\\aerospike\")'" >> $GITHUB_ENV

- name: Build client
run: |
Expand All @@ -227,15 +220,9 @@ jobs:
env:
CFLAGS: '-Werror'

- name: foo test
run: |
npm install ..
working-directory: src

- name: Test client
run: |
${{ env.TEST_COMMAND }}
working-directory: src
- name: Save macOS binding
uses: actions/upload-artifact@v4
Expand Down Expand Up @@ -346,18 +333,12 @@ jobs:

- name: Disable tests (only run basic import test)
if: ${{ !inputs.run_tests }}
run: echo "TEST_COMMAND=node -e 'aerospike = require(\"aerospike\")'" >> $GITHUB_ENV

run: echo "TEST_COMMAND=node -e 'aerospike = require(\".\\lib\\aerospike\")'" >> $GITHUB_ENV

- name: foo test
run: |
npm install ..
working-directory: src

- name: Test client
run: |
${{ env.TEST_COMMAND }}
working-directory: src
- name: Save macOS wheel
uses: actions/upload-artifact@v4
Expand Down

0 comments on commit 7037ba5

Please sign in to comment.