Compare commits

...

18 Commits

Author SHA1 Message Date
3e518d38f6
Update workflow
Some checks failed
/ build-element (push) Failing after 16s
2025-03-07 15:22:37 +01:00
c6d95a774e
Update workflow
Some checks failed
/ build-element (push) Failing after 16s
2025-03-07 15:20:43 +01:00
adfae6f51d
Update workflow
Some checks failed
/ build-element (push) Failing after 7m44s
2025-03-07 15:06:58 +01:00
07ea7afb9e
Update workflow
Some checks failed
/ build-element (push) Failing after 7m30s
2025-03-04 22:22:13 +01:00
4aabc986ef
Update workflow
Some checks failed
/ build-element (push) Failing after 7m44s
2025-03-04 22:11:40 +01:00
d1c2be8898
Update workflow
Some checks failed
/ build-element (push) Failing after 7m9s
2025-03-04 21:59:05 +01:00
d4a78d0d4f
Update workflow
Some checks failed
/ build-element (push) Failing after 1m2s
2025-03-04 21:55:05 +01:00
458ca631e6
Update workflow
Some checks failed
/ build-element (push) Failing after 10s
2025-03-04 21:54:14 +01:00
508df5a8fb
Update workflow
Some checks failed
/ build-element (push) Failing after 1m7s
2025-03-04 21:52:42 +01:00
ac3055f51e
Update workflow
Some checks failed
/ build-element (push) Failing after 3m21s
2025-03-04 21:47:28 +01:00
2a89cdf443
Update workflow
Some checks failed
/ build-element (push) Failing after 2m52s
2025-03-04 21:37:22 +01:00
b272e50a67
Update workflow
Some checks failed
/ build-element (push) Failing after 29s
2025-03-04 21:32:52 +01:00
14c0db5565
Update workflow
Some checks failed
/ build-element (push) Failing after 21s
2025-03-04 21:31:11 +01:00
8d9343e54d
Update workflow
Some checks failed
/ build-element (push) Failing after 4m53s
2025-03-04 21:20:48 +01:00
695860d8cd
Update workflow 2025-03-04 20:21:54 +01:00
c964c11d2b
Update workflow 2025-03-04 20:20:54 +01:00
5898fd756f
Update workflow 2025-03-04 19:30:40 +01:00
deda5d64db
Add workflow (WIP) 2025-03-04 19:28:22 +01:00
3 changed files with 29 additions and 1 deletions

View File

@ -0,0 +1,23 @@
on: [push, workflow_dispatch]
jobs:
build-element:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- 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
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'

View File

@ -14,6 +14,7 @@ RUN apt-get -qq update && apt-get -y -qq dist-upgrade && \
# Used by seshat (when not SQLCIPHER_STATIC) \
libsqlcipher-dev && \
apt-get purge -y --auto-remove && rm -rf /var/lib/apt/lists/*
RUN dpkg --add-architecture i386 && apt-get update && apt-get install -y wine mono-devel rpm
RUN ln -s /usr/bin/python3 /usr/bin/python & ln -s /usr/bin/pip3 /usr/bin/pip
ENV DEBUG_COLORS=true

View File

@ -8,9 +8,12 @@ if [ $? != 0 ]; then
exit 1
fi
echo "${PWD}"
echo $(ls "${PWD}")
# Taken from https://www.electron.build/multi-platform-build#docker
# Pass through any vars prefixed with INDOCKER_, removing the prefix
docker run --rm -ti \
docker run --rm \
--platform linux/amd64 \
--env-file <(env | grep -E '^INDOCKER_' | sed -e 's/^INDOCKER_//') \
--env ELECTRON_CACHE="/root/.cache/electron" \
@ -21,4 +24,5 @@ docker run --rm -ti \
-v ${PWD}/docker/.gnupg:/root/.gnupg \
-v ~/.cache/electron:/root/.cache/electron \
-v ~/.cache/electron-builder:/root/.cache/electron-builder \
--workdir "/project" \
"$IMAGE" "$@"