forked from CringeStudios/element-desktop
This commit is contained in:
parent
0c233d88d4
commit
ec0c0aa2c3
@ -6,29 +6,34 @@ jobs:
|
|||||||
steps:
|
steps:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Download Cringe Studios configuration
|
- name: Download Cringe Studios configuration
|
||||||
run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json"
|
run: "mkdir cringe && wget -O cringe/config.json https://chat.cringe-studios.com/config.json"
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: >
|
run: >
|
||||||
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y &&
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y &&
|
||||||
|
source ~/.profile &&
|
||||||
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.2/install.sh | bash &&
|
||||||
|
\. "$HOME/.nvm/nvm.sh" &&
|
||||||
|
nvm install 22 &&
|
||||||
curl --proto "=https" -L https://yarnpkg.com/latest.tar.gz | tar xvz && mv yarn-* /yarn && ln -s /yarn/bin/yarn /usr/bin/yarn &&
|
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
|
dpkg --add-architecture i386 && apt-get update && apt-get install -y wine mono-devel rpm &&
|
||||||
|
ln -s /usr/bin/wine /usr/bin/wine64
|
||||||
- name: Fetch packages
|
|
||||||
|
- name: Install packages
|
||||||
run: >
|
run: >
|
||||||
yarn add matrix-seshat &&
|
yarn add matrix-seshat &&
|
||||||
yarn
|
yarn
|
||||||
|
|
||||||
- name: Fetch element
|
- name: Fetch element
|
||||||
run: >
|
run: >
|
||||||
yarn run fetch --noverify --cfgdir cringe
|
yarn run fetch --noverify --cfgdir cringe
|
||||||
|
|
||||||
- name: Build natives
|
- name: Build natives
|
||||||
run: >
|
run: >
|
||||||
SQLCIPHER_BUNDLED=1 yarn run build:native
|
SQLCIPHER_BUNDLED=1 yarn run build:native
|
||||||
|
|
||||||
- name: Build packages
|
- name: Build packages
|
||||||
run: >
|
run: >
|
||||||
yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel
|
yarn run build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel
|
||||||
|
Loading…
x
Reference in New Issue
Block a user