Skip to content
This repository has been archived by the owner on Jun 2, 2024. It is now read-only.

perf: improving performance, layout #82

perf: improving performance, layout

perf: improving performance, layout #82

Workflow file for this run

name: "Generate test artifacts"
on:
pull_request:
types: [opened, reopened, synchronize]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: true
- uses: actions/setup-python@v5
with:
python-version: "3.11"
cache: "pip"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install colloid specific dependencies
run: sudo apt update && sudo apt install -y sassc inkscape optipng
- name: Generate themes
run: |
python patches/xfwm4/generate_assets.py
python ./main.py mocha --all-accents --zip -d $PWD/releases/mocha &
python ./main.py macchiato --all-accents --zip -d $PWD/releases/macchiato &
python ./main.py frappe --all-accents --zip -d $PWD/releases/frappe &
python ./main.py latte --all-accents --zip -d $PWD/releases/latte &
wait
mv $PWD/releases/mocha/* $PWD/releases && rm -rf $PWD/releases/mocha
mv $PWD/releases/macchiato/* $PWD/releases && rm -rf $PWD/releases/macchiato
mv $PWD/releases/frappe/* $PWD/releases && rm -rf $PWD/releases/frappe
mv $PWD/releases/latte/* $PWD/releases && rm -rf $PWD/releases/latte
- name: Upload artifacts
uses: actions/upload-artifact@v4
with:
name: '${{ github.sha }}-artifacts'
path: ./releases/*.zip