Skip to content

Commit ba50105

Browse files
committed
auto commit
1 parent 113c92b commit ba50105

File tree

1 file changed

+1
-79
lines changed

1 file changed

+1
-79
lines changed

.circleci/config.yml

Lines changed: 1 addition & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -128,84 +128,6 @@ jobs:
128128
# cp /Users/distiller/project/dist/latest* /Users/distiller/project/upload
129129
# - store_artifacts:
130130
# path: /Users/distiller/project/upload
131-
build:
132-
steps:
133-
# Checkout the code as the first step.
134-
- checkout
135-
- add_ssh_keys:
136-
fingerprints:
137-
- "ea:9f:b9:27:c8:2b:8c:fb:f8:63:dc:a8:33:a7:55:62"
138-
- run:
139-
name: ls
140-
command: ls
141-
- run:
142-
name: pwd
143-
command: pwd
144-
- node/install:
145-
install-yarn: true
146-
node-version: "14.21.3"
147-
# AT SOME POINT YARN INSTALL BROKE FOR NO REASON, TRY SWITCHING BACK TO YARN TO SEE IF IT WORKS
148-
# - node/install-packages:
149-
# # If you are using yarn, change the line below from "npm" to "yarn"
150-
# pkg-manager: yarn
151-
- run:
152-
name: Install Node modules
153-
command: npm i --openssl-fips=''
154-
- run:
155-
name: Brew Clean
156-
command: rm '/usr/local/lib/python3.9/site-packages/six.py'
157-
- run:
158-
name: Install Dependencies
159-
command: HOMEBREW_NO_AUTO_UPDATE=1 HOMEBREW_NO_INSTALL_CLEANUP=1 brew install snapcraft rpm
160-
# - run:
161-
# name: Run tests
162-
# command: yarn test || echo "There were test failures, this build may be sour."
163-
- run:
164-
name: Build and Publish - linux
165-
command: npm run build:linux --openssl-fips=""
166-
- run:
167-
name: Build and Publish - windows
168-
command: npm run build:windows $( [ "$CIRCLE_BRANCH" != "release" ] && printf %s '--publish-never' ) --openssl-fips=""
169-
# - run:
170-
# name: Create Windows EXE
171-
# command: yarn sh:copyexe
172-
- run:
173-
name: Build and Publish - windows CrossOver.exe
174-
command: npm run build:windows:exe --openssl-fips="" || echo 'We error here since latest.yml has already been uploaded.'
175-
# Snapcraft > 6 uses a different login method that requires an ENV variable: SNAPCRAFT_STORE_CREDENTIALS
176-
# See https://snapcraft.io/docs/snapcraft-authentication
177-
# - run:
178-
# name: Snapcraft Login
179-
# # Generate the snap token with 'snapcraft export-login --snaps crossover --channels edge,stable -'
180-
# command: snapcraft login
181-
# - run:
182-
# name: Build and Publish - snap
183-
# command: npm run build:snap $( [ "$CIRCLE_BRANCH" == "release" ] && printf %s '--publish-always' ) --openssl-fips=""
184-
- run:
185-
name: Build and Publish - mac
186-
command: npm run build:mac --openssl-fips=""
187-
- run:
188-
name: ls dist
189-
command: ls dist
190-
- run:
191-
name: Cut stable branch
192-
command: |
193-
rm yarn.lock package-lock.json || echo "No lock files to remove"
194-
git config user.email "me@lacymorrow.com"
195-
git config user.name "Lacy CI"
196-
git checkout stable || git checkout -b stable
197-
git pull
198-
git merge ${CIRCLE_BRANCH} || echo "Not merging to stable"
199-
git push --set-upstream origin stable || echo "Not pushing stable"
200-
201-
- run:
202-
name: Create Artifacts
203-
command: |
204-
mkdir -p /Users/distiller/project/upload
205-
cp /Users/distiller/project/dist/CrossOver* /Users/distiller/project/upload
206-
cp /Users/distiller/project/dist/latest* /Users/distiller/project/upload
207-
- store_artifacts:
208-
path: /Users/distiller/project/upload
209131

210132
workflows:
211133
# Below is the definition of your workflow.
@@ -220,4 +142,4 @@ workflows:
220142
- equal: [release, << pipeline.git.branch >>]
221143
jobs:
222144
# - build
223-
- build
145+
- build-linux

0 commit comments

Comments
 (0)