
* Update es_ES * Localization updates * Documentation * Localization updates * Documentation * Xd * Expose playback progress. * Cider The Wekeend Update Add more keybinds and make own page to change it ( No more Pop Up) Redesing the "Menu Bar" to more efficient order. * CleanUp * Some Strings Update made By "Monochromish" * Documentation * Goodbye Analog Warmth * typo * I can't fuckin read * Updated config.yml * Auto Triage * Remove Spatialization from Audio Settings modal * Remove customizable Spatialization strings * Remove some whitespaces in ja_JP * Add i18n updates to README * Change some things in i18n README * Remove whitespace in ja_JP * uhh * Add hide_timestamp to store * Add hideTimestamp to en_US and source * Add hideTimestamp to hu_HU * Add check to discordrpc.ts * Add hideTimestamp to settings * Add missing button labels (fix for screen readers) (#1016) * added some attributes for themes https://docs.cider.sh/themes/available-attributes * Fix unlove * Revert "Fix unlove" * Update ja_JP.json Drafted by あづき#8046 Finalized by Maikiwi * ja_JP credit change * Update en_OWO.json * Add Relaunch Prompt to nativeTitleBar and hw_acc * Update zh_TW.json Update TW language. * made some new playback icons * german language changes * CiderAudio cleanup * and I forgor * perf increase * electron version bump * feat: 🌐 Update French language (#1030) * further cideraudio trimming * i18n support for CAR/CTS * fix broken code * Update es_ES * Update Some "Audio Settings" String and added to es_ES * optimizations added show loved tracks inline set several less operations to async changed default transition to fade in, moved slide in to sweetener changed drawer transition to transform optimizations for disabled gpu * readded audio strings * Don't code while ur sleepy * don't fix code while ur drunk * test your commits before pushing * impulses can now be external * feat: 🌐 Update French Language * Create Themes and Plugins folder if it doesnt't exist Fixes #742 * Make cast device list scrollable * Removal of Natural (High) * i18n changes * I'm an idiot * fix queue menu * CAR mode selector ext * I forgor Co-authored-by: Mefsaal <mefsaal@gmail.com> Co-authored-by: Gabriel Davila <56521591+mefsaal@users.noreply.github.com> Co-authored-by: maikirakiwi <stella@mai.kiwi> Co-authored-by: Core <64542347+coredev-uk@users.noreply.github.com> Co-authored-by: Amaru8 <52407090+Amaru8@users.noreply.github.com> Co-authored-by: Pedro Galhardo <pedromgalhardo@tecnico.ulisboa.pt> Co-authored-by: booploops <49113086+booploops@users.noreply.github.com> Co-authored-by: GamingLiamStudios <58615717+GamingLiamStudios@users.noreply.github.com> Co-authored-by: 宥叡 <46503943+jay900604@users.noreply.github.com> Co-authored-by: UnbreakCode <unbreakcode@gmail.com> Co-authored-by: Erwan <24718500+ErwanGit@users.noreply.github.com> Co-authored-by: Erwan <erwan977@gmail.com> Co-authored-by: licia-tia <licia@s-cry.com> Co-authored-by: vapormusic <vietanhfat@gmail.com>
197 lines
6.3 KiB
YAML
197 lines
6.3 KiB
YAML
version: 2.1
|
|
|
|
executors:
|
|
cider-ci:
|
|
docker:
|
|
- image: circleci/node:16
|
|
working_directory: ~/Cider
|
|
|
|
orbs: # Add orbs to your configuration
|
|
jira: circleci/jira@1.0.5 # invokes the Jira orb, making its commands accessible
|
|
|
|
# The jobs for this project
|
|
jobs:
|
|
prepare-build:
|
|
executor: cider-ci
|
|
steps:
|
|
- checkout
|
|
# - run:
|
|
# name: Rename Repository
|
|
# command: sed -i 's/github:ciderapp\/Cider/github:ciderapp\/cider-releases/' package.json
|
|
- run:
|
|
name: Update Package Managers
|
|
command: sudo npm update -g npm yarn
|
|
- restore_cache:
|
|
name: Restore Yarn Package Cache
|
|
keys:
|
|
- yarn-packages-{{ checksum "cider.lock" }}
|
|
- run:
|
|
name: Install Node Dependencies
|
|
command: yarn install --frozen-lockfile --cache-folder ~/.cache/yarn
|
|
- save_cache:
|
|
name: Save Yarn Package Cache
|
|
key: yarn-packages-{{ checksum "cider.lock" }}
|
|
paths:
|
|
- ~/.cache/yarn
|
|
- run:
|
|
name: TypeScript Compile
|
|
command: yarn build
|
|
- persist_to_workspace:
|
|
# Must be an absolute path, or relative path from working_directory. This is a directory on the container which is
|
|
# taken to be the root directory of the workspace.
|
|
root: .
|
|
# Must be relative path from root
|
|
paths:
|
|
- src
|
|
- node_modules
|
|
- build
|
|
- resources
|
|
- yarn.lock
|
|
- package.json
|
|
- winget.json # winget.json is a file that is generated by the winget package manager
|
|
- LICENSE
|
|
- license.txt
|
|
|
|
build-linux:
|
|
executor: cider-ci
|
|
steps:
|
|
- attach_workspace:
|
|
at: ~/Cider
|
|
- run:
|
|
name: Fix Versioning and Add Channel
|
|
command: yarn circle:script
|
|
- run:
|
|
name: Generate Builds (Linux)
|
|
command: yarn electron-builder -l -p never
|
|
post-steps:
|
|
- jira/notify
|
|
- persist_to_workspace:
|
|
root: .
|
|
paths:
|
|
- dist/*.deb
|
|
- dist/*.AppImage
|
|
- dist/*.snap
|
|
- dist/latest-linux.yml
|
|
|
|
build-windows:
|
|
executor: cider-ci
|
|
steps:
|
|
- attach_workspace:
|
|
at: ~/Cider
|
|
- run:
|
|
name: Install Windows System Build Dependencies
|
|
command: |
|
|
sudo apt-get update -y
|
|
sudo apt-get install -y dpkg fakeroot wine64
|
|
sudo dpkg --add-architecture i386
|
|
sudo apt-get update -y
|
|
sudo apt-get install -y wine32
|
|
- run:
|
|
name: Fix Versioning and Add Channel
|
|
command: yarn circle:script
|
|
- run:
|
|
name: Generate Builds (Windows)
|
|
command: yarn electron-builder -w --x64 -p never
|
|
post-steps:
|
|
- jira/notify
|
|
- persist_to_workspace:
|
|
root: .
|
|
paths:
|
|
- dist/*.exe
|
|
- dist/Cider-Setup-*.exe.blockmap
|
|
- dist/latest.yml
|
|
|
|
build-winget:
|
|
executor: cider-ci
|
|
steps:
|
|
- attach_workspace:
|
|
at: ~/Cider
|
|
- run:
|
|
name: Install Windows System Build Dependencies
|
|
command: |
|
|
sudo apt-get update -y
|
|
sudo apt-get install -y dpkg fakeroot wine64
|
|
sudo dpkg --add-architecture i386
|
|
sudo apt-get update -y
|
|
sudo apt-get install -y wine32
|
|
- run:
|
|
name: Fix Versioning and Add Channel
|
|
command: yarn circle:script
|
|
- run:
|
|
name: Generate Builds (Winget)
|
|
command: yarn electron-builder --win -c winget.json -p never
|
|
post-steps:
|
|
- jira/notify
|
|
- persist_to_workspace:
|
|
root: .
|
|
paths:
|
|
- dist/*.exe
|
|
- dist/Cider-Setup-winget-*.exe.blockmap
|
|
|
|
release:
|
|
executor: cider-ci
|
|
steps:
|
|
- attach_workspace:
|
|
at: ~/Cider/
|
|
- run:
|
|
name: Installing GitHub Command Line Interface
|
|
command: |
|
|
sudo apt-get update -y
|
|
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
|
|
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
|
|
sudo apt-get update -y
|
|
sudo apt install -y gh
|
|
- run:
|
|
name: Move Build Files
|
|
command: |
|
|
mkdir ~/Cider/dist/artifacts/
|
|
mv ~/Cider/dist/*.exe ~/Cider/dist/artifacts
|
|
mv ~/Cider/dist/*.deb ~/Cider/dist/artifacts
|
|
mv ~/Cider/dist/*.AppImage ~/Cider/dist/artifacts
|
|
mv ~/Cider/dist/*.snap ~/Cider/dist/artifacts
|
|
mv ~/Cider/dist/*.yml ~/Cider/dist/artifacts
|
|
mv ~/Cider/dist/*.blockmap ~/Cider/dist/artifacts
|
|
- store_artifacts:
|
|
path: ~/Cider/dist/artifacts
|
|
- run:
|
|
name: Set App Version
|
|
command: echo "export APP_VERSION=$(grep '"version":.*' package.json | cut -d '"' -f 4 | head -1)" >> $BASH_ENV
|
|
- run:
|
|
name: Publish Release
|
|
command: |
|
|
gh release create "v${APP_VERSION}.${CIRCLE_BUILD_NUM}" --title "Cider Version ${APP_VERSION} - Build ${CIRCLE_BUILD_NUM} (${CIRCLE_BRANCH})" --generate-notes -R ciderapp/cider-releases ~/Cider/dist/artifacts/*.deb ~/Cider/dist/artifacts/*.AppImage ~/Cider/dist/artifacts/*.snap ~/Cider/dist/artifacts/*.exe ~/Cider/dist/artifacts/*.yml ~/Cider/dist/artifacts/*.blockmap
|
|
|
|
# Orchestrate our job run sequence
|
|
workflows:
|
|
build_and_release:
|
|
jobs:
|
|
- prepare-build:
|
|
filters:
|
|
branches:
|
|
only: develop
|
|
- build-windows:
|
|
requires:
|
|
- prepare-build
|
|
filters:
|
|
branches:
|
|
only: develop
|
|
- build-linux:
|
|
requires:
|
|
- prepare-build
|
|
filters:
|
|
branches:
|
|
only: develop
|
|
- build-winget:
|
|
requires:
|
|
- prepare-build
|
|
filters:
|
|
branches:
|
|
only: develop
|
|
- release:
|
|
requires:
|
|
- build-windows
|
|
- build-linux
|
|
- build-winget
|
|
filters:
|
|
branches:
|
|
only: develop
|