# This config is equivalent to both the '.circleci/extended/orb-free.yml' and the base '.circleci/config.yml'
version: 2.1
# Orbs are reusable packages of CircleCI configuration that you may share across projects, enabling you to create encapsulated, parameterized commands, jobs, and executors that can be used across multiple projects.
# See: https://circleci.com/docs/2.0/orb-intro/
orbs:
node: circleci/[email protected]
win: circleci/[email protected]
jobs:
build-windows-prod:
executor: win/server-2022
working_directory: ~/repo
steps:
#Do stuff...
build-linux-prod:
machine:
image: ubuntu-2004:current
working_directory: ~/repo
steps:
#Do stuff...
1条答案
按热度按时间5cg8jx4n1#
所以我不得不在大约一年前学习很多这方面的知识,我是Power BI的Electron应用程序Displagent的创始人,我必须在Raspberry Pis上运行Displagent。
以下是我所做的:
main
分支或将PR合并到main
时,我有一个CircleCI脚本,它可以在Windows、Mac和Linux的云服务器上运行和自动构建我的Electron应用程序。这似乎完成了工作。
以下是我的CircleCI YAML脚本的一些片段:
希望能帮上忙。