@@ -247,51 +247,6 @@ jobs:
247247 deno-version : ${{ needs.release-versions.outputs.deno-version }}
248248 coverage : false
249249
250- # TODO: this should go away once upstream builds are fixed
251- build-matrix-rust-bindings-for-alpine :
252- name : Builds matrix rust bindings against alpine
253- runs-on : ubuntu-24.04
254- steps :
255- - name : check cache for matrix-rust-sdk-crypto-nodejs
256- id : matrix-rust-sdk-crypto-nodejs
257- uses : actions/cache@v4
258- with :
259- path : /tmp/build/matrix-sdk-crypto.linux-x64-musl.node
260- key : matrix-rust-sdk-crypto-nodejs-v0.2.0-beta.1
261-
262- - uses : actions/checkout@v4
263- with :
264- repository : matrix-org/matrix-rust-sdk-crypto-nodejs
265- ref : v0.2.0-beta.1 # https://github.com/element-hq/matrix-bot-sdk/blob/e72a4c498e00c6c339a791630c45d00a351f56a8/package.json#L58
266-
267- - if : steps.matrix-rust-sdk-crypto-nodejs.outputs.cache-hit != 'true'
268- run : sudo apt-get install -y musl-tools libunwind-dev && find /usr/include -name stdarg.h 2>/dev/null || true
269-
270- - if : steps.matrix-rust-sdk-crypto-nodejs.outputs.cache-hit != 'true'
271- uses : actions/setup-node@v4.4.0
272- with :
273- node-version : 22.16.0
274-
275- - if : steps.matrix-rust-sdk-crypto-nodejs.outputs.cache-hit != 'true'
276- uses : actions-rust-lang/setup-rust-toolchain@v1
277- with :
278- toolchain : ' 1.76'
279- target : x86_64-unknown-linux-musl
280-
281- - if : steps.matrix-rust-sdk-crypto-nodejs.outputs.cache-hit != 'true'
282- name : Install ziglang
283- uses : mlugg/setup-zig@v1
284- with :
285- version : 0.13.0
286-
287- - if : steps.matrix-rust-sdk-crypto-nodejs.outputs.cache-hit != 'true'
288- name : Build
289- run : |
290- npm install --ignore-scripts
291- npx napi build --release --target x86_64-unknown-linux-musl --platform --zig
292- mkdir -p /tmp/build
293- mv matrix-sdk-crypto.linux-x64-musl.node /tmp/build/matrix-sdk-crypto.linux-x64-musl.node
294-
295250 build-gh-docker-coverage :
296251 name : 🚢 Build Docker Images for Testing
297252 needs : [build, release-versions, build-matrix-rust-bindings-for-alpine]
@@ -323,11 +278,6 @@ jobs:
323278 build-containers : ${{ matrix.platform == needs.release-versions.outputs.official-platform && 'authorization-service account-service ddp-streamer-service presence-service stream-hub-service queue-worker-service omnichannel-transcript-service' || '' }}
324279 NPM_TOKEN : ${{ secrets.NPM_TOKEN }}
325280
326- - name : Make sure matrix bindings load
327- if : (github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'release' || github.ref == 'refs/heads/develop') && matrix.platform == 'alpine' && github.actor != 'dependabot[bot]'
328- run : |
329- docker run --rm -w /app/bundle/programs/server/npm/node_modules/matrix-appservice-bridge ghcr.io/rocketchat/rocket.chat:$RC_DOCKER_TAG -e 'require(".")'
330-
331281 - name : Rename official Docker tag to GitHub Container Registry
332282 if : matrix.platform == needs.release-versions.outputs.official-platform && (github.event.pull_request.head.repo.full_name == github.repository || github.event_name == 'release' || github.ref == 'refs/heads/develop') && github.actor != 'dependabot[bot]'
333283 run : |
0 commit comments