Skip to content

Commit a92ae58

Browse files
committed
Remove -j flag
1 parent 96add1b commit a92ae58

File tree

3 files changed

+153
-153
lines changed

3 files changed

+153
-153
lines changed

.semaphore/semaphore.yml

Lines changed: 151 additions & 151 deletions
Original file line numberDiff line numberDiff line change
@@ -35,29 +35,29 @@ global_job_config:
3535

3636

3737
blocks:
38-
# - name: "Linux arm64: Build and test"
39-
# dependencies: [ ]
40-
# task:
41-
# agent:
42-
# machine:
43-
# type: s1-prod-ubuntu20-04-arm64-1
44-
# jobs:
45-
# - name: "Build from source and test"
46-
# commands:
47-
# - npm install # this will actually not build anything if we have a release, but rather, fetch things using node-pre-gyp - so change this later.
48-
# - make test
38+
- name: "Linux arm64: Build and test"
39+
dependencies: [ ]
40+
task:
41+
agent:
42+
machine:
43+
type: s1-prod-ubuntu20-04-arm64-1
44+
jobs:
45+
- name: "Build from source and test"
46+
commands:
47+
- npm install # this will actually not build anything if we have a release, but rather, fetch things using node-pre-gyp - so change this later.
48+
- make test
4949

50-
# - name: 'macOS arm64/m1: Build and test'
51-
# dependencies: []
52-
# task:
53-
# agent:
54-
# machine:
55-
# type: s1-prod-macos-arm64
56-
# jobs:
57-
# - name: 'Build from source and test'
58-
# commands:
59-
# - npm install # this will actually not build anything if we have a release, but rather, fetch things using node-pre-gyp - so change this later.
60-
# - make test
50+
- name: 'macOS arm64/m1: Build and test'
51+
dependencies: []
52+
task:
53+
agent:
54+
machine:
55+
type: s1-prod-macos-arm64
56+
jobs:
57+
- name: 'Build from source and test'
58+
commands:
59+
- npm install # this will actually not build anything if we have a release, but rather, fetch things using node-pre-gyp - so change this later.
60+
- make test
6161

6262
- name: "Linux amd64: Build, test, lint"
6363
dependencies: [ ]
@@ -77,133 +77,133 @@ blocks:
7777
- npx eslint lib/kafkajs
7878

7979

80-
# - name: "Linux amd64: Release"
81-
# dependencies: [ ]
82-
# run:
83-
# when: "tag =~ '^v[0-9]\\.'"
84-
# task:
85-
# agent:
86-
# machine:
87-
# type: s1-prod-ubuntu20-04-amd64-2
88-
# env_vars:
89-
# - name: ARCHITECTURE
90-
# value: "x64"
91-
# - name: PLATFORM
92-
# value: "linux"
93-
# - name: LIBC
94-
# value: "glibc"
95-
# jobs:
96-
# - name: "Release: LTS:18"
97-
# commands:
98-
# - sem-version node 18.19.0
99-
# - export NODE_ABI=108
100-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
101-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
102-
# - npx node-pre-gyp package
103-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
104-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
105-
# - name: "Release: LTS:20"
106-
# commands:
107-
# - sem-version node 20.10.0
108-
# - export NODE_ABI=115
109-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
110-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
111-
# - npx node-pre-gyp package
112-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
113-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
114-
# - name: "Release: latest: 21"
115-
# commands:
116-
# - sem-version node 21.4.0
117-
# - export NODE_ABI=120
118-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
119-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
120-
# - npx node-pre-gyp package
121-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
122-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
80+
- name: "Linux amd64: Release"
81+
dependencies: [ ]
82+
run:
83+
when: "tag =~ '^v[0-9]\\.'"
84+
task:
85+
agent:
86+
machine:
87+
type: s1-prod-ubuntu20-04-amd64-2
88+
env_vars:
89+
- name: ARCHITECTURE
90+
value: "x64"
91+
- name: PLATFORM
92+
value: "linux"
93+
- name: LIBC
94+
value: "glibc"
95+
jobs:
96+
- name: "Release: LTS:18"
97+
commands:
98+
- sem-version node 18.19.0
99+
- export NODE_ABI=108
100+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
101+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
102+
- npx node-pre-gyp package
103+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
104+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
105+
- name: "Release: LTS:20"
106+
commands:
107+
- sem-version node 20.10.0
108+
- export NODE_ABI=115
109+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
110+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
111+
- npx node-pre-gyp package
112+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
113+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
114+
- name: "Release: latest: 21"
115+
commands:
116+
- sem-version node 21.4.0
117+
- export NODE_ABI=120
118+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
119+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
120+
- npx node-pre-gyp package
121+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
122+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
123123

124-
# - name: "Linux arm64: Release"
125-
# dependencies: [ ]
126-
# run:
127-
# when: "tag =~ '^v[0-9]\\.'"
128-
# task:
129-
# agent:
130-
# machine:
131-
# type: s1-prod-ubuntu20-04-arm64-1
132-
# env_vars:
133-
# - name: ARCHITECTURE
134-
# value: "arm64"
135-
# - name: PLATFORM
136-
# value: "linux"
137-
# - name: LIBC
138-
# value: "glibc"
139-
# jobs:
140-
# - name: "Release: LTS:18"
141-
# commands:
142-
# - sem-version node 18.19.0
143-
# - export NODE_ABI=108
144-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
145-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
146-
# - npx node-pre-gyp package
147-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
148-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
149-
# - name: "Release: LTS:20"
150-
# commands:
151-
# - sem-version node 20.10.0
152-
# - export NODE_ABI=115
153-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
154-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
155-
# - npx node-pre-gyp package
156-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
157-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
158-
# - name: "Release: latest: 21"
159-
# commands:
160-
# - sem-version node 21.4.0
161-
# - export NODE_ABI=120
162-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
163-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
164-
# - npx node-pre-gyp package
165-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
166-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
167-
# - name: "macOS arm64/m1: Release"
168-
# dependencies: [ ]
169-
# run:
170-
# when: "tag =~ '^v[0-9]\\.'"
171-
# task:
172-
# agent:
173-
# machine:
174-
# type: s1-prod-macos-arm64
175-
# env_vars:
176-
# - name: ARCHITECTURE
177-
# value: "arm64"
178-
# - name: PLATFORM
179-
# value: "darwin"
180-
# - name: LIBC
181-
# value: "unknown"
182-
# jobs:
183-
# - name: "Release: LTS:18"
184-
# commands:
185-
# - sem-version node 18.19.0
186-
# - export NODE_ABI=108
187-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
188-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
189-
# - npx node-pre-gyp package
190-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
191-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
192-
# - name: "Release: LTS:20"
193-
# commands:
194-
# - sem-version node 20.10.0
195-
# - export NODE_ABI=115
196-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
197-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
198-
# - npx node-pre-gyp package
199-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
200-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
201-
# - name: "Release: latest: 21"
202-
# commands:
203-
# - sem-version node 21.4.0
204-
# - export NODE_ABI=120
205-
# - export ARTIFACT_KEY="node-librdkafka-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
206-
# - npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
207-
# - npx node-pre-gyp package
208-
# - ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
209-
# - artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
124+
- name: "Linux arm64: Release"
125+
dependencies: [ ]
126+
run:
127+
when: "tag =~ '^v[0-9]\\.'"
128+
task:
129+
agent:
130+
machine:
131+
type: s1-prod-ubuntu20-04-arm64-1
132+
env_vars:
133+
- name: ARCHITECTURE
134+
value: "arm64"
135+
- name: PLATFORM
136+
value: "linux"
137+
- name: LIBC
138+
value: "glibc"
139+
jobs:
140+
- name: "Release: LTS:18"
141+
commands:
142+
- sem-version node 18.19.0
143+
- export NODE_ABI=108
144+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
145+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
146+
- npx node-pre-gyp package
147+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
148+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
149+
- name: "Release: LTS:20"
150+
commands:
151+
- sem-version node 20.10.0
152+
- export NODE_ABI=115
153+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
154+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
155+
- npx node-pre-gyp package
156+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
157+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
158+
- name: "Release: latest: 21"
159+
commands:
160+
- sem-version node 21.4.0
161+
- export NODE_ABI=120
162+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
163+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
164+
- npx node-pre-gyp package
165+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
166+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
167+
- name: "macOS arm64/m1: Release"
168+
dependencies: [ ]
169+
run:
170+
when: "tag =~ '^v[0-9]\\.'"
171+
task:
172+
agent:
173+
machine:
174+
type: s1-prod-macos-arm64
175+
env_vars:
176+
- name: ARCHITECTURE
177+
value: "arm64"
178+
- name: PLATFORM
179+
value: "darwin"
180+
- name: LIBC
181+
value: "unknown"
182+
jobs:
183+
- name: "Release: LTS:18"
184+
commands:
185+
- sem-version node 18.19.0
186+
- export NODE_ABI=108
187+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
188+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
189+
- npx node-pre-gyp package
190+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
191+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
192+
- name: "Release: LTS:20"
193+
commands:
194+
- sem-version node 20.10.0
195+
- export NODE_ABI=115
196+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
197+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
198+
- npx node-pre-gyp package
199+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
200+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"
201+
- name: "Release: latest: 21"
202+
commands:
203+
- sem-version node 21.4.0
204+
- export NODE_ABI=120
205+
- export ARTIFACT_KEY="confluent-kafka-js-${SEMAPHORE_GIT_TAG_NAME}-node-v${NODE_ABI}-${PLATFORM}-${LIBC}-${ARCHITECTURE}.tar.gz"
206+
- npm install # node-pre-gyp will fallback to build here, because new tag implies no release yet.
207+
- npx node-pre-gyp package
208+
- ls build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}
209+
- artifact push project "build/stage/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}" --destination "releases/${SEMAPHORE_GIT_TAG_NAME}/${ARTIFACT_KEY}"

deps/librdkafka

util/configure.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ if (isWin) {
1818
var childProcess = require('child_process');
1919

2020
try {
21-
let opts = '--install-deps --source-deps-only --disable-lz4-ext --enable-static --enable-strip --disable-gssapi --disable-ssl --disable-curl';
21+
let opts = '--install-deps --source-deps-only --disable-lz4-ext --enable-static --enable-strip --disable-gssapi';
2222
if (process.env['CKJS_LINKING'] === 'dynamic')
2323
opts = '';
2424
childProcess.execSync(`./configure ${opts} --prefix=${releaseDir} --libdir=${releaseDir}`, {

0 commit comments

Comments
 (0)