Updated config.yml

This commit is contained in:
Core 2022-04-30 15:56:09 +01:00
parent a85a15eaf3
commit 6e69333932

View file

@ -34,24 +34,9 @@ jobs:
key: yarn-packages-{{ checksum "cider.lock" }} key: yarn-packages-{{ checksum "cider.lock" }}
paths: paths:
- ~/.cache/yarn - ~/.cache/yarn
- run:
name: Install system build dependencies
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 install -y dpkg fakeroot wine64
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y wine32
sudo apt install -y gh
- run:
name: Fix Versioning and Add Channel
command: yarn circle:script
- run: - run:
name: TypeScript Compile name: TypeScript Compile
command: yarn build command: yarn build
# Persist the specified paths (workspace/echo-output) into the workspace for use in downstream job.
- persist_to_workspace: - persist_to_workspace:
# Must be an absolute path, or relative path from working_directory. This is a directory on the container which is # 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. # taken to be the root directory of the workspace.
@ -68,11 +53,29 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: ~/Cider at: ~/Cider
- run:
name: Install system build dependencies
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 install -y dpkg fakeroot wine64
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y wine32
sudo apt install -y gh
- run:
name: Fix Versioning and Add Channel
command: yarn circle:script
- run: - run:
name: Generate Builds (Windows) name: Generate Builds (Windows)
command: yarn electron-builder -w --x64 -p never command: yarn electron-builder -w --x64 -p never
post-steps: post-steps:
- jira/notify - jira/notify
- persist_to_workspace:
root: .
paths:
- dist
build-linux: build-linux:
executor: cider-ci executor: cider-ci
@ -80,11 +83,29 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: ~/Cider at: ~/Cider
- run:
name: Install system build dependencies
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 install -y dpkg fakeroot wine64
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y wine32
sudo apt install -y gh
- run:
name: Fix Versioning and Add Channel
command: yarn circle:script
- run: - run:
name: Generate Builds (Linux) name: Generate Builds (Linux)
command: yarn electron-builder -l -p never command: yarn electron-builder -l -p never
post-steps: post-steps:
- jira/notify - jira/notify
- persist_to_workspace:
root: .
paths:
- dist
build-winget: build-winget:
executor: cider-ci executor: cider-ci
@ -92,11 +113,29 @@ jobs:
- checkout - checkout
- attach_workspace: - attach_workspace:
at: ~/Cider at: ~/Cider
- run:
name: Install system build dependencies
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 install -y dpkg fakeroot wine64
sudo dpkg --add-architecture i386
sudo apt-get update -y
sudo apt-get install -y wine32
sudo apt install -y gh
- run:
name: Fix Versioning and Add Channel
command: yarn circle:script
- run: - run:
name: Generate Builds (Winget) name: Generate Builds (Winget)
command: yarn electron-builder --win -c winget.json -p never command: yarn electron-builder --win -c winget.json -p never
post-steps: post-steps:
- jira/notify - jira/notify
- persist_to_workspace:
root: .
paths:
- dist
release: release:
executor: cider-ci executor: cider-ci