sekur-chat/.gitea/workflows/build_linux_docker.yml

24 lines
927 B
YAML
Raw Normal View History

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 20:20:54 +01:00
- name: Install dependencies
2025-03-04 21:20:48 +01:00
run: "apt update && apt install -y npm wget && npm install -g yarn"
2025-03-04 20:20:54 +01:00
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: Fetch all dependencies
run: "yarn && yarn run fetch --noverify --cfgdir cringe"
- name: Docker setup
run: "yarn run docker:setup"
- name: Docker build
run: "scripts/in-docker.sh bash -c 'dpkg --add-architecture i386 && apt update && apt install -y rpm wine mono-devel && SQLCIPHER_BUNDLED=1 yarn run docker:build:native && yarn run docker:build --linux rpm --linux deb --linux tar.xz --linux AppImage --win squirrel'"