2025-03-04 19:28:22 +01:00
|
|
|
on: [push, workflow_dispatch]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-element:
|
2025-03-04 19:30:40 +01:00
|
|
|
runs-on: ubuntu-latest
|
2025-03-04 19:28:22 +01:00
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
|
|
uses: actions/checkout@v3
|
|
|
|
|
2025-03-04 21:20:48 +01:00
|
|
|
- name: Download Cringe Studios configuration
|
|
|
|
run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json"
|
|
|
|
|
|
|
|
- name: Docker setup
|
2025-03-04 22:22:13 +01:00
|
|
|
run: "docker build --platform linux/amd64 -t element-desktop-dockerbuild -f dockerbuild/Dockerfile ."
|
2025-03-04 21:20:48 +01:00
|
|
|
|
|
|
|
- name: Docker build
|
2025-03-04 21:47:28 +01:00
|
|
|
run: >
|
2025-03-04 22:22:13 +01:00
|
|
|
ls -la && scripts/in-docker.sh bash -c 'ls -la &&
|
2025-03-04 21:47:28 +01:00
|
|
|
yarn add matrix-seshat &&
|
|
|
|
yarn &&
|
|
|
|
yarn run fetch --noverify --cfgdir cringe &&
|
|
|
|
SQLCIPHER_BUNDLED=1 yarn run docker:build:native &&
|
2025-03-04 21:59:05 +01:00
|
|
|
yarn run docker:build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel'
|