Update workflow
Some checks failed
/ build-element (push) Failing after 11s

This commit is contained in:
MrLetsplay 2025-04-05 23:10:18 +02:00
parent de9dd31bb2
commit 3ba9a0cfb7
Signed by: mr
SSH Key Fingerprint: SHA256:92jBH80vpXyaZHjaIl47pjRq+Yt7XGTArqQg1V7hSqg

View File

@ -10,14 +10,26 @@ jobs:
- name: Download Cringe Studios configuration
run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json"
- name: Docker setup
run: "docker build --platform linux/amd64 -t element-desktop-dockerbuild -f dockerbuild/Dockerfile ."
- name: Docker build
- name: Install dependencies
run: >
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y &&
curl --proto "=https" -L https://yarnpkg.com/latest.tar.gz | tar xvz && mv yarn-* /yarn && ln -s /yarn/bin/yarn /usr/bin/yarn &&
dpkg --add-architecture i386 && apt-get update && apt-get install -y wine mono-devel rpm &&
ln -s /usr/bin/python3 /usr/bin/python & ln -s /usr/bin/pip3 /usr/bin/pip
- name: Fetch packages
run: >
ls -la && PWD=$(pwd) scripts/in-docker.sh bash -c 'ls -la &&
yarn add matrix-seshat &&
yarn &&
yarn run fetch --noverify --cfgdir cringe &&
SQLCIPHER_BUNDLED=1 yarn run docker:build:native &&
yarn run docker:build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel'
yarn
- name: Fetch cringe config
run: >
yarn run fetch --noverify --cfgdir cringe
- name: Build natives
run: >
SQLCIPHER_BUNDLED=1 yarn run build:native
- name: Build packages
run: >
yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel