Skip to content

Commit

Permalink
Changed ubuntu version to 22.04
Browse files Browse the repository at this point in the history
  • Loading branch information
DomPeliniAerospike committed Jun 3, 2024
1 parent fb43814 commit e7d33a3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 8 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/build-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ jobs:
id: runcmd
with:
arch: aarch64
distro: ubuntu22.04
distro: ubuntu-22.04

# Set an output parameter `uname` for use in subsequent steps
run: |
Expand Down Expand Up @@ -194,6 +194,8 @@ jobs:
run: |
${{ env.TEST_COMMAND }}
- name:

- name: Send binding to test jobs
uses: actions/upload-artifact@v4
with:
Expand Down Expand Up @@ -413,7 +415,7 @@ jobs:
# context: "Build bindings (${{ matrix.nodejs-version[0] }}-macosx_arm64)"

test-npm-install:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [manylinux, macOS-x86]
steps:
- uses: actions/checkout@v2
Expand All @@ -435,9 +437,13 @@ jobs:
- name: Modify the package.json
run: |
pwd
echo "finish"
ls /home/runner/work/aerospike-client-nodejs/aerospike-client-nodejs/lib/binding
ls /home/runner/work/aerospike-client-nodejs/aerospike-client-nodejs/lib/binding/[email protected]/node-v108-linux-x64/
node ./scripts/prebuiltBinding.js
ls /home/runner/work/aerospike-client-nodejs/aerospike-client-nodejs/lib/binding/node-v108-linux-x64/
echo "finish"
- name: Run tests
run: |
mkdir -p testDir
Expand All @@ -446,7 +452,7 @@ jobs:
sudo npm install ..
test-yarn-install:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [manylinux, macOS-x86]
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -479,7 +485,7 @@ jobs:
yarn add link:..
test-pnpm-install:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [manylinux, macOS-x86]
steps:
- uses: actions/checkout@v2
Expand Down Expand Up @@ -541,7 +547,7 @@ jobs:
bun link aerospike
test-typescript-install:
runs-on: ubuntu-latest
runs-on: ubuntu-22.04
needs: [manylinux, macOS-x86]
steps:
- uses: actions/checkout@v2
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/combine-bindings/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,9 @@ runs:
mkdir -p lib/binding/[email protected]/node-v108-linux-x64 lib/binding/[email protected]/node-v115-linux-x64 lib/binding/[email protected]/node-v127-linux-x64
mkdir -p lib/binding/[email protected]/node-v108-linux-x64 lib/binding/[email protected]/node-v115-linux-x64 lib/binding/[email protected]/node-v127-linux-x64
mkdir -p lib/binding/[email protected]/node-v108-linux-x64 lib/binding/[email protected]/node-v115-linux-x64 lib/binding/[email protected]/node-v127-linux-x64
cp -r node-v108-linux-x64 lib/binding/glibc@2.31/node-v108-linux-x64
cp -r node-v115-linux-x64 lib/binding/glibc@2.31/node-v115-linux-x64
cp -r node-v127-linux-x64 lib/binding/glibc@2.31/node-v127-linux-x64
cp -r node-v108-linux-x64 lib/binding/glibc@2.35/node-v108-linux-x64
cp -r node-v115-linux-x64 lib/binding/glibc@2.35/node-v115-linux-x64
cp -r node-v127-linux-x64 lib/binding/glibc@2.35/node-v127-linux-x64
cp -r node-v108-darwin-x64 lib/binding/node-v108-darwin-x64
cp -r node-v115-darwin-x64 lib/binding/node-v115-darwin-x64
cp -r node-v127-darwin-x64 lib/binding/node-v127-darwin-x64
Expand Down

0 comments on commit e7d33a3

Please sign in to comment.