8000 Electron and Tree-Sitter bump by mauricioszabo · Pull Request #386 · atom-community/atom · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Electron and Tree-Sitter bump #386

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2,936 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2936 commits
Select commit Hold shift + click to select a range
66f35ea
Merge pull request #327 from aminya/github-actions
darangi Jan 27, 2021
2ba8196
Merge pull request #315 from illright/fix/mistaken-sql
darangi Jan 27, 2021
9314882
Merge remote-tracking branch 'upstream/master'
aminya Jan 27, 2021
6d7026e
Merge pull request #325 from aminya/master
darangi Jan 27, 2021
1e3fa85
Merge pull request #412 from JesseSteele/master
sadick254 Jan 29, 2021
9b703d8
Prepare v0.46.2 release
sadick254 Jan 29, 2021
fd71825
Prepare v0.53.6 release
darangi Feb 2, 2021
7382930
Fix multiple modifiers with non-typed property (#417)
KapitanOczywisty Mar 30, 2021
5fae657
Support attributes in the function parameter list (#416)
KapitanOczywisty Mar 30, 2021
2bf736a
Revert SQL-related changes from last year (#359)
Ingramz Mar 30, 2021
832557d
Migrate to Github Actions
sadick254 Apr 22, 2021
428a407
Merge pull request #85 from atom/use-github-actions
sadick254 Apr 22, 2021
ef7639b
Update README.md
sadick254 Apr 22, 2021
d05a300
Merge pull request #86 from atom/update-readme
sadick254 Apr 22, 2021
d6b55c1
Migrate to Github Actions
sadick254 Apr 23, 2021
80c94f7
Merge pull request #253 from atom/use-github-actions
sadick254 Apr 23, 2021
c570289
Update readme with CI status
sadick254 Apr 23, 2021
fa293f4
Merge pull request #255 from atom/update-readme
sadick254 Apr 23, 2021
028812f
Migrate to Github Actions (#425)
sadick254 Apr 23, 2021
3a14af5
Update README with CI status badge (#426)
sadick254 Apr 23, 2021
6737ae1
Migrate to Github Actions
sadick254 Apr 23, 2021
93c6c78
Merge pull request #365 from atom/use-github-actions
sadick254 Apr 23, 2021
4a8ada0
Update README with CI status badge
sadick254 Apr 23, 2021
dc8fc70
Merge pull request #366 from atom/update-readme
sadick254 Apr 23, 2021
cdfaf65
Update README with CI status badge
sadick254 Apr 23, 2021
936cc19
Merge branch 'master' into update-readme
sadick254 Apr 23, 2021
1b411af
Merge pull request #367 from atom/update-readme
sadick254 Apr 23, 2021
8a997aa
Migrate to Github Actions
sadick254 Apr 26, 2021
fecc812
Merge pull request #184 from atom/use-github-actions
sadick254 Apr 26, 2021
a4c0d01
Migrate to Github Actions
sadick254 Apr 26, 2021
2bc659d
setup GH actions
darangi Apr 26, 2021
089613d
Update php.cson to detect SQL CTEs (#427)
NSExceptional May 11, 2021
5a43136
More consistent tokens for types (#424)
KapitanOczywisty May 11, 2021
4cdf06a
Allow include with parentheses (#421)
KapitanOczywisty May 11, 2021
be4396c
Prepare v0.47.0 release
sadick254 May 11, 2021
1a846c9
updated badge and removed test command
darangi Jun 3, 2021
19b82e0
Test pull requests (#437)
KapitanOczywisty Jul 29, 2021
8909c50
Pure Intersection types (#436)
KapitanOczywisty Jul 29, 2021
37d716c
Readonly properties (#435)
KapitanOczywisty Jul 29, 2021
df64bb5
Explicit octal notation (#433)
KapitanOczywisty Jul 29, 2021
e3054bd
Noreturn type (#434)
KapitanOczywisty Jul 29, 2021
bbd03e9
Prepare v0.48.0 release
sadick254 Jul 29, 2021
a3d98c9
Replace noreturn with never
KapitanOczywisty Aug 11, 2021
711271f
Install the exact version instead of range
sadick254 Oct 4, 2021
d7ed1df
Merge pull request #369 from atom/exact-version
sadick254 Oct 4, 2021
030b6d3
Prepare v0.60.20 release
sadick254 Oct 4, 2021
f50b6c1
Install the exact version instead of range
sadick254 Oct 4, 2021
8095b52
Merge pull request #186 from atom/exact-match
sadick254 Oct 4, 2021
d591541
Prepare v0.47.3 release
sadick254 Oct 4, 2021
6ec1f66
limit allowed characters to utf-8 range (0x10ffff)
IonBazan Oct 21, 2021
18862cf
Detect nullable types in phpdoc.
BladeMF Oct 31, 2021
0a4417b
Merge pull request #220 from mschuchard/patch-1
sadick254 Nov 10, 2021
a056647
Tokenize '?' as 'keyword.operator.nullable-type.php' in nullable type…
BladeMF Dec 26, 2021
1aa8ddc
Merge pull request #445 from BladeMF/phpdoc-nullable-types
darangi Jan 13, 2022
bbc2ab4
Merge pull request #439 from KapitanOczywisty/never
darangi Jan 13, 2022
acb3c55
Merge branch 'master' into utf-8-compliance
IonBazan Jan 13, 2022
b029889
Merge pull request #444 from IonBazan/utf-8-compliance
darangi Jan 13, 2022
ff64523
Support blade syntax in heredoc
KapitanOczywisty Jul 22, 2021
f2d172e
Merge pull request #432 from KapitanOczywisty/heredocBlade
darangi Jan 13, 2022
36a073b
Prepare v0.48.1 release
darangi Jan 17, 2022
5535df5
Add DQL support
eexit Jan 20, 2022
d8d99b0
Suggestion: change (D|S) into [DS]
eexit Jan 20, 2022
4a627b9
Merge pull request #160 from mohd-akram/fix-heredoc-expansion
darangi Apr 1, 2022
a06ba69
Improve class definition, add enums
KapitanOczywisty May 1, 2022
adf8d88
Merge pull request #448 from eexit/master
darangi May 20, 2022
eb28b8a
Merge pull request #456 from KapitanOczywisty/enum
darangi May 20, 2022
62e4a01
Changes to make `yarn install` work
mauricioszabo Jun 15, 2022
383083b
Dockerfile and instructions
mauricioszabo Jun 15, 2022
d443691
Bump tree-sitter
mauricioszabo Jun 15, 2022
b1f84a2
Making atom run at least
mauricioszabo Jun 15, 2022
36089d5
Putting language-javascript in the monorepo
mauricioszabo Jun 15, 2022
cf9cbc5
Putting settings-view also on current repo
mauricioszabo Jun 15, 2022
8f6ff39
First playwright test
mauricioszabo Jun 15, 2022
b3f2b7d
Migrating to Electron 12
mauricioszabo Jun 15, 2022
cb6dec9
Updated rust package
mauricioszabo Jun 16, 2022
107ff58
Merge remote-tracking branch 'origin/master' into visual-tests
mauricioszabo Jun 16, 2022
59b8e96
Added a way to change `apm` path for tests
mauricioszabo Jun 16, 2022
6c30573
Script to build APM
mauricioszabo Jun 16, 2022
37a1bc2
Dockerfile change
mauricioszabo Jun 16, 2022
968eff7
Not putting settings-view on repo (strange bugs)
mauricioszabo Jun 16, 2022
515aa91
Version bump of other langs
mauricioszabo Jun 17, 2022
d992027
Test for syntax highlighting
mauricioszabo Jun 17, 2022
ce0cc49
CircleCI to ease builds
mauricioszabo Jun 17, 2022
98bbabc
Updated config.yml
mauricioszabo Jun 17, 2022
6ff22d3
Fixes for apt-get
mauricioszabo Jun 17, 2022
513a4bd
Merge branch 'visual-tests' of github.com:AtomRebirth/atom into visua…
mauricioszabo Jun 17, 2022
c8ecf39
Env var?
mauricioszabo Jun 17, 2022
3da88ae
Slashes on the end of file
mauricioszabo Jun 17, 2022
f2e7286
Adding language-java and ruby
mauricioszabo Jun 17, 2022
2908529
Opening up an X Server
mauricioszabo Jun 17, 2022
02e0e7e
Video Artifacts
mauricioszabo Jun 17, 2022
aab2f08
Adding helpers
mauricioszabo Jun 17, 2022
ca85c3d
Fixed running tests on CI
mauricioszabo Jun 17, 2022
68c3a9c
Trying a different video path
mauricioszabo Jun 17, 2022
86911c2
Sleeping\
mauricioszabo Jun 17, 2022
d71fa26
CI is slower, we need more time
mauricioszabo Jun 17, 2022
a3a5d1b
Fixes, fixes...
mauricioszabo Jun 17, 2022
07e2537
8000 Storing report of tests
mauricioszabo Jun 17, 2022
e9351eb
Clean exit
mauricioszabo Jun 17, 2022
37d0ca6
More waiting...
mauricioszabo Jun 17, 2022
8812f68
Debugging test result
mauricioszabo Jun 17, 2022
bf975c1
Fixing weird issue
mauricioszabo Jun 17, 2022
400f236
Trying two reporters
mauricioszabo Jun 17, 2022
17f7400
Fixing. Again.
mauricioszabo Jun 17, 2022
163b532
More fixes
mauricioszabo Jun 17, 2022
07d2712
Lots of changes on Tree-Sitter
mauricioszabo Jun 18, 2022
0e194b3
More changes on tests
mauricioszabo Jun 18, 2022
2f637e4
Removed all weird links I did by mistake
mauricioszabo Jun 19, 2022
14c949a
Removed weird thing I did on TS
mauricioszabo Jun 19, 2022
5bd94bf
Prepared language-typescript for remote
mauricioszabo Jun 19, 2022
4e8cbeb
Merge remote-tracking branch 'language-typescript-remote/master' into…
mauricioszabo Jun 19, 2022
65415fb
Prepare language-go for monorepo
mauricioszabo Jun 19, 2022
e2eb40c
Merge remote-tracking branch 'language-go/master' into visual-tests
mauricioszabo Jun 19, 2022
3ea8c3d
Update typescript tree-sitter
mauricioszabo Jun 19, 2022
30ea5ba
Prepare language-json for monorepo
mauricioszabo Jun 19, 2022
0b1cfd1
Merge remote-tracking branch 'language-json/master' into visual-tests
mauricioszabo Jun 19, 2022
a0fb87e
Updated tree-sitter-json
mauricioszabo Jun 19, 2022
19901e2
Prepare language-php for monorepo
mauricioszabo Jun 19, 2022
ae6f593
Prepared .github for monorepo
mauricioszabo Jun 19, 2022
c33c71a
Merge remote-tracking branch 'language-php/master' into visual-tests
mauricioszabo Jun 19, 2022
b669b66
Prepare language-python for monorepo
mauricioszabo Jun 19, 2022
e1bdfc7
Merge remote-tracking branch 'language-python/master' into visual-tests
mauricioszabo Jun 19, 2022
1c88352
Bump tree-sitter-c dependencies
mauricioszabo Jun 19, 2022
575331b
Prepare language-c for monorepo
mauricioszabo Jun 19, 2022
d973e5d
Merge remote-tracking branch 'language-c/master' into visual-tests
mauricioszabo Jun 19, 2022
1e8b962
Lockfiles update
mauricioszabo Jun 19, 2022
56f7775
Prepare language-html for monorepo
mauricioszabo Jun 19, 2022
3076a99
Merge remote-tracking branch 'language-html/master' into visual-tests
mauricioszabo Jun 19, 2022
8affc88
Adding checks for HTML and XML
mauricioszabo Jun 19, 2022
f54e18f
HTML update
mauricioszabo Jun 19, 2022
117a7f3
Prepare language-shellscript for monorepo
mauricioszabo Jun 19, 2022
c7fd835
Merge remote-tracking branch 'language-shellscript/master' into visua…
mauricioszabo Jun 19, 2022
10ff815
Adding shellscript to tests
mauricioszabo Jun 19, 2022
f623d69
Testing if Atom can find installed packages
mauricioszabo Jun 20, 2022
45aa122
APM build update
mauricioszabo Jun 20, 2022
a663543
Rebuilding in the right way
mauricioszabo Jun 20, 2022
04c47e2
Fixing yarn start
mauricioszabo Jun 20, 2022
a6ba2e5
Yarn on APM, because why not?
mauricioszabo Jun 20, 2022
4abdc1a
Building with electron-builder
mauricioszabo Jun 20, 2022
dbb10c9
Building on Linux
mauricioszabo Jun 20, 2022
46eae6b
Disabled mac for now
mauricioszabo Jun 20, 2022
288fa4a
Fixing config issues
mauricioszabo Jun 20, 2022
04ade1a
Yarn is already installed
mauricioszabo Jun 20, 2022
c323ef3
Some possible fixes
mauricioszabo Jun 20, 2022
6848c8c
Fixes for MacOSX tests
mauricioszabo Jun 20, 2022
7eda4d3
Trying meta to see if it works
mauricioszabo Jun 21, 2022
fe45ce4
Update version of Typescript
mauricioszabo Jun 21, 2022
ed4f7c7
Wait for modal to be visible
mauricioszabo Jun 21, 2022
6938423
Building with script to allow for metadata
mauricioszabo Jun 21, 2022
a005708
Awaiting for command pallette to be ready
mauricioszabo Jun 21, 2022
55332d9
CTRL+a in Mac
mauricioszabo Jun 21, 2022
2a010fd
Re-doing the WHOLE THING or metadata
mauricioszabo Jun 21, 2022
93c6c79
Making binaries, probably
mauricioszabo Jun 22, 2022
e4ebd40
Windows?
mauricioszabo Jun 22, 2022
0e9daaa
Commenting test for nw
mauricioszabo Jun 22, 2022
f8cba92
Trying to fix window executor
mauricioszabo Jun 22, 2022
41da980
Don't publish.
mauricioszabo Jun 22, 2022
409c71a
Updated config.yml
mauricioszabo Jun 22, 2022
aa5dcb4
Trying windows, again
mauricioszabo Jun 22, 2022
92c14b1
Merge branch 'build-without-scripts' of github.com:AtomRebirth/atom i…
mauricioszabo Jun 22, 2022
afca211
Fix?
mauricioszabo Jun 22, 2022
d29ec51
Win does not allow pipes, obviously
mauricioszabo Jun 22, 2022
24d3882
Retry, retry...
mauricioszabo Jun 22, 2022
8bc0144
Resize image
mauricioszabo Jun 22, 2022
966a6b6
Fail
mauricioszabo Jun 22, 2022
b5e4eb1
Bash?
mauricioszabo Jun 22, 2022
35b7be0
Another try on the poorly documented CircleCI Window
mauricioszabo Jun 22, 2022
99a8b7b
Trying other windows executor
mauricioszabo Jun 22, 2022
c81909f
Another windows version, another try...
mauricioszabo Jun 22, 2022
b98eb98
Another windows tunning
mauricioszabo Jun 22, 2022
0b8499b
Trying universal build on Mac
mauricioszabo Jun 22, 2022
8f015fa
Other mac
mauricioszabo Jun 22, 2022
532a724
Trying cirrus
mauricioszabo Jun 22, 2022
5d15e44
Forgot all about git...
mauricioszabo Jun 22, 2022
787baea
Fixed Cirrus format
mauricioszabo Jun 22, 2022
5c47017
Trying to move everything one-level up
mauricioszabo Jun 22, 2022
80b80ac
Trying to handle specific builds
mauricioszabo Jun 22, 2022
adea7dd
Trying to add Mac and Windows to the show
mauricioszabo Jun 22, 2022
63a35b8
Installing more things
mauricioszabo Jun 22, 2022
c71256e
Not installing npx on Mac
mauricioszabo Jun 22, 2022
0b1b63f
Node 16!
mauricioszabo Jun 22, 2022
ea3a993
WOW.... seriously....
mauricioszabo Jun 22, 2022
044cd38
Trying to debug Win
mauricioszabo Jun 22, 2022
5b56d22
Uploading artifacts
mauricioszabo Jun 22, 2022
d6a1d97
One more try, now with Python
mauricioszabo Jun 22, 2022
68a8026
Maybe videos now work?
mauricioszabo Jun 22, 2022
59607dc
More weird debugging
mauricioszabo Jun 22, 2022
43cee4d
More debugging (I will need to rebase it)
mauricioszabo Jun 22, 2022
e8c1969
A
mauricioszabo Jun 22, 2022
52be182
More windoze stuff
mauricioszabo Jun 22, 2022
2be8819
More work to make it work on Mac
mauricioszabo Jun 22, 2022
828d4d7
Maybe pack only for the current arch?
mauricioszabo Jun 22, 2022
3633768
Setting dirs manually
mauricioszabo Jun 22, 2022
6bc7e55
Trying intel Mac builds
mauricioszabo Jun 22, 2022
aa6db34
Maybe now?
mauricioszabo Jun 22, 2022
b31f90c
This is so stupid...
mauricioszabo Jun 22, 2022
887d3b0
One more try
mauricioszabo Jun 22, 2022
81f443c
Trying to make it work with the piece of garbage that Powershell is
mauricioszabo Jun 22, 2022
7c97346
What did I do?
mauricioszabo Jun 22, 2022
6358431
Well... this is my life now, Windows...
mauricioszabo Jun 22, 2022
63ccb08
Again, trying things on windows...
mauricioszabo Jun 23, 2022
19ed990
Fixing mac, probably, and maybe windows
mauricioszabo Jun 23, 2022
b3ab826
Because order matters on MacOS
mauricioszabo Jun 23, 2022
bdedb60
Trying to set msbuild_path
mauricioszabo Jun 23, 2022
b91e480
Trying to install Windows' build tools
mauricioszabo Jun 23, 2022
386ff5d
Trying again with refreshenv
mauricioszabo Jun 23, 2022
0c6cede
Trying another image
mauricioszabo Jun 23, 2022
e80d8e2
Trying another build config
mauricioszabo Jun 23, 2022
7f60f3e
Trying to accelerate windows builds
mauricioszabo Jun 23, 2022
05934fc
Windows dir separators, amiright?
mauricioszabo Jun 23, 2022
e12f6d2
Well, maybe now?
mauricioszabo Jun 23, 2022
d3de25c
I have to be honest - I'm shooting in the dark now...
mauricioszabo Jun 23, 2022
1233da4
Why?
mauricioszabo Jun 23, 2022
b1d6d52
OR IS NOT WORKING!!!
mauricioszabo Jun 23, 2022
d284d67
Trying bash again, let's hope this is the last commit
mauricioszabo Jun 23, 2022
9cb7f70
Icon for Windows
mauricioszabo Jun 23, 2022
6095a20
Removing comments
mauricioszabo Jun 23, 2022
b036bdc
Two typos
mauricioszabo Jun 24, 2022
89b4c6d
Once again, Windows
mauricioszabo Jun 24, 2022
d5a52e4
Manually building APM
mauricioszabo Jun 24, 2022
2798453
Reverting Windows' apm build
mauricioszabo Jun 24, 2022
8e98a33
?
mauricioszabo Jun 24, 2022
fff1005
Retrying because of Cirrus flakyness
mauricioszabo Jun 24, 2022
535484f
Different image
mauricioszabo Jun 24, 2022
ae3054d
Revert "Different i 8000 mage"
mauricioszabo Jun 24, 2022
c79ce44
Trying CircleCI again
mauricioszabo Jun 24, 2022
dfb9ff7
Weird things on Cirrus
mauricioszabo Jun 24, 2022
d340bf7
Update .cirrus.yml
mauricioszabo Jun 24, 2022
fd8e9d4
Windows tests
mauricioszabo Jun 24, 2022
5bec0df
Merge branch 'build-without-scripts' of github.com:AtomRebirth/atom i…
mauricioszabo Jun 24, 2022
45d454b
Fixing the build, breaking things for now
mauricioszabo Jun 24, 2022
6b0c393
All binaries for Linux
mauricioszabo Jun 24, 2022
695e081
Let's try and check if this hack works
mauricioszabo Jun 24, 2022
a90d858
Tagging binaries
mauricioszabo Jun 24, 2022
2abeafa
Sleep
mauricioszabo Jun 24, 2022
6327063
Wrong version
mauricioszabo Jun 24, 2022
a4e6196
Trying to get at least packages listed
mauricioszabo Jun 25, 2022
97021d7
Avoiding running tests on windows
mauricioszabo Jun 25, 2022
8399d54
Yarn
mauricioszabo Jun 25, 2022
e13abba
Merge branch 'build-without-scripts' of github.com:AtomRebirth/atom i…
mauricioszabo Jun 25, 2022
6b5eb90
Clearing cache?
mauricioszabo Jun 25, 2022
155c676
Ignore tests for windows
mauricioszabo Jun 25, 2022
f049dcc
Fixing versioning, again
mauricioszabo Jun 25, 2022
734357f
Don't change things on Windoez
mauricioszabo Jun 25, 2022
8f7e380
Removing msi from Windows
mauricioszabo Jun 25, 2022
605b163
Trying some stuff for... guest what? Windows...
mauricioszabo Jun 25, 2022
80ac2d9
Lockfile update
mauricioszabo Jun 26, 2022
549e483
Don't add any metadata
mauricioszabo Jun 26, 2022
e2a8875
Finally, packages are working!\
mauricioszabo Jun 27, 2022
2b4ab2a
Merge remote-tracking branch 'origin/master' into build-without-scripts
mauricioszabo Jun 27, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
120 changes: 120 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,120 @@
version: 2.1

defaults: &defaults
docker:
- image: node:lts-slim

jobs:
linux:
<<: *defaults
steps:
- checkout
- run: apt-get update
- run: export DEBIAN_FRONTEND="noninteractive"
- run: apt-get install -y
rpm
build-essential
git
libsecret-1-dev
fakeroot
libx11-dev
libxkbfile-dev
libgdk-pixbuf2.0-dev
libgtk-3-dev
libxss-dev
libasound2-dev
libnss3
xvfb
- run: yarn install || sleep 1 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install
- run: yarn run build
- run: yarn run build:apm
- run: Xvfb :99 & DISPLAY=:99 PLAYWRIGHT_JUNIT_OUTPUT_NAME=/tmp/report.xml npx playwright test --reporter=junit,list
- store_test_results:
path: /tmp/report.xml
- store_artifacts:
path: /tmp/report.xml
- store_artifacts:
path: ./tests/videos
- run:
name: "Build operating system's binaries"
command: 'yarn dist'
no_output_timeout: 30m
- store_artifacts:
path: ./binaries

mac:
macos:
xcode: 12.5.1
steps:
- checkout
- run: echo A | softwareupdate --install-rosetta
- run: brew install node@16 yarn git python
- run: ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python
- run: export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
- run: yarn install || sleep 1 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install
- run: yarn run build
- run: yarn run build:apm
- run: PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml npx playwright test --reporter=junit,list
- store_test_results:
path: /tmp/report.xml
- store_artifacts:
path: /tmp/report.xml
- store_artifacts:
path: ./tests/videos
- run:
name: "Build ARM operating system's binaries"
command: 'yarn dist'
no_output_timeout: 30m
- store_artifacts:
path: ./binaries
- run: arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- run: export PATH="/usr/local/bin:$PATH"
- run: arch -x86_64 brew install node@16 yarn git python
- run: ln -s /usr/local/opt/python3 /usr/local/bin/python
- run: export PATH="/usr/local/opt/node@16/bin:/usr/local/bin/python3:$PATH"
- run: arch -x86_64 yarn run build
- run: arch -x86_64 yarn run build:apm
- run: sudo rm -rf /Library/Developer/CommandLineTools
- run: arch -x86_64 xcode-select --install
- run:
name: "Build INTEL operating system's binaries"
command: 'arch -x86_64 yarn dist || arch -x86_64 yarn dist'
no_output_timeout: 30m
- store_artifacts:
path: ./binaries

windows:
machine:
image: 'windows-server-2019-vs2019:stable'
resource_class: windows.medium
shell: bash
steps:
- checkout
- run: choco install nodejs --version=16.15.1 --allow-downgrade -y
- run: choco install python git visualstudio2019-workload-vctools -y
- run: npm config set python 'C:\Python310\python.exe'
- run: cd apm; npx yarn install || npx yarn install
- run: cd apm; ./node_modules/atom-package-manager/bin/npm rebuild || ./node_modules/atom-package-manager/bin/npm rebuild
- run: npx yarn install || npx yarn install || npx yarn install || npx yarn install
- run: npx yarn run build
- run: PLAYWRIGHT_JUNIT_OUTPUT_NAME=/tmp/report.xml npx playwright test --reporter=junit,list
- store_test_results:
path: /tmp/report.xml
- store_artifacts:
path: /tmp/report.xml
- store_artifacts:
path: ./tests/videos
- run:
name: "Build operating system's binaries"
command: 'npx yarn dist'
no_output_timeout: 30m
- store_artifacts:
path: ./binaries

workflows:
version: 2
default-workflow:
jobs:
- linux
- mac
- windows
100 changes: 100 additions & 0 deletions .cirrus.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
linux_task:
container:
image: node:lts-slim
test_script:
- apt-get update
- export DEBIAN_FRONTEND="noninteractive"
- apt-get install -y
rpm
build-essential
git
libsecret-1-dev
fakeroot
libx11-dev
libxkbfile-dev
libgdk-pixbuf2.0-dev
libgtk-3-dev
libxss-dev
libasound2-dev
libnss3
xvfb
- yarn install || sleep 1 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install
- yarn run build
- yarn run build:apm
- Xvfb :99 & DISPLAY=:99 PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml npx playwright test --reporter=junit,list
junit_artifacts:
path: report.xml
type: text/xml
format: junit
videos_artifacts:
path: ./tests/videos/**
build_binary_script:
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
- yarn dist
binary_artifacts:
path: ./binaries/*

mac_task:
macos_instance:
image: ghcr.io/cirruslabs/macos-monterey-base:latest
test_script:
- echo A | softwareupdate --install-rosetta
- brew install node@16 yarn git python
- ln -s /opt/homebrew/bin/python3 /opt/homebrew/bin/python
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
- yarn install || sleep 1 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install || sleep 2 && yarn install
- yarn run build
- yarn run build:apm
- PLAYWRIGHT_JUNIT_OUTPUT_NAME=report.xml npx playwright test --reporter=junit,list
junit_artifacts:
path: report.xml
type: text/xml
format: junit
videos_artifacts:
path: ./tests/videos/**
build_arm_binary_script:
- export PATH="/opt/homebrew/bin:/opt/homebrew/opt/node@16/bin:$PATH"
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
- yarn dist
binary_artifacts:
path: ./binaries/*
build_x86_binary_script:
- arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
- export PATH="/usr/local/bin:$PATH"
- arch -x86_64 brew install node@16 yarn git python
- ln -s /usr/local/opt/python3 /usr/local/bin/python
- export PATH="/usr/local/opt/node@16/bin:/usr/local/bin/python3:$PATH"
- arch -x86_64 yarn run build
- arch -x86_64 yarn run build:apm
- sudo rm -rf /Library/Developer/CommandLineTools
- arch -x86_64 xcode-select --install
- arch -x86_64 yarn dist || arch -x86_64 yarn dist
binary_artifacts:
path: ./binaries/*

windows_task:
windows_container:
image: cirrusci/windowsservercore:visualstudio2019-2021.12.07
env:
CIRRUS_SHELL: bash
PATH: C:\Python310\Scripts\;C:\Python310\;%PATH%;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\User\AppData\Local\Microsoft\WindowsApps;C:\Users\User\AppData\Roaming\npm;C:\Program Files\Microsoft Visual Studio\2022\Community\Msbuild\Current\Bin\
install_deps_script:
- choco install nodejs --version=16.15.1 -y
- choco install python git visualstudio2019-workload-vctools -y
- npm config set python 'C:\Python310\python.exe'
build_apm_script:
- cd apm; npx yarn install || sleep 1 && npx yarn install || sleep 2 && npx yarn cache clean; npx yarn install || sleep 2 && npx yarn install || sleep 2 && npx yarn cache clean; npx yarn install || sleep 2 && npx yarn install
- ./node_modules/atom-package-manager/bin/npm rebuild || sleep 1 && ./node_modules/atom-package-manager/bin/npm rebuild || sleep 2 && ./node_modules/atom-package-manager/bin/npm rebuild || sleep 4 && ./node_modules/atom-package-manager/bin/npm rebuild
test_script:
- npx yarn install --ignore-scripts || sleep 1 && npx yarn install --ignore-scripts || sleep 2 && npx yarn cache clean; npx yarn install --ignore-scripts || sleep 2 && npx yarn install --ignore-scripts || echo "Giving up"
- rm -R node_modules/electron
- npx yarn install || sleep 1 && npx yarn install || sleep 2 && npx yarn cache clean; npx yarn install || sleep 2 && npx yarn install || echo "Giving up"
- npx yarn run build
# - npx playwright test --reporter=list
videos_artifacts:
path: tests\videos\**
build_binary_script:
- sed -i -e "s/[0-9]*-dev/`date -u +%Y%m%d%H`/g" package.json
- npx yarn dist || npx yarn dist || npx yarn dist
binary_artifacts:
path: .\binaries\*
21 changes: 21 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: CI

on: [push]

env:
CI: true

jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
channel: [stable, beta]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v1
- uses: UziTech/action-setup-atom@v2
with:
version: ${{ matrix.channel }}
- name: Install dependencies
run: apm install
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI

on: [push]

env:
CI: true

jobs:
Test:
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
channel: [stable, beta]
runs-on: ${{ matrix.os }}
D7AE steps:
- uses: actions/checkout@v1
- uses: UziTech/action-setup-atom@v2
with:
version: ${{ matrix.channel }}
- name: Install windows-build-tools
if: ${{ matrix.os == 'windows-latest' }}
run: |
npm i windows-build-tools@4.0.0
npm config set msvs_version 2019
- name: Install dependencies
run: apm install
- name: Run tests
run: atom --test spec
26 changes: 11 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,31 +1,27 @@
# VERSION: 0.2
# DESCRIPTION: Image to build Atom
FROM node:lts-slim

FROM ubuntu:20.04

# Install dependencies
RUN apt-get update && \
DEBIAN_FRONTEND="noninteractive" \
RUN apt-get update
RUN DEBIAN_FRONTEND="noninteractive" \
apt-get install -y \
build-essential \
git \
libsecret-1-dev \
fakeroot \
rpm \
libx11-dev \
libxkbfile-dev \
libgdk-pixbuf2.0-dev \
libgtk-3-dev \
libxss-dev \
libasound2-dev \
npm && \
rm -rf /var/lib/apt/lists/*
libnss3

# Update npm and dependencies
RUN npm install -g npm --loglevel error
COPY . /atom
WORKDIR /atom

# Use python2 by default
RUN npm config set python /usr/bin/python2 -g
# Github's package registry is REALLY not responding
# FIXME: Remove the additional retries when we migrate away from it
RUN yarn install || yarn install || yarn install || yarn install
RUN yarn run build
RUN yarn run build:apm

ENTRYPOINT ["/usr/bin/env", "sh", "-c"]
CMD ["bash"]
Loading
< 1558 div id="ajax-error-message" class="ajax-error-message flash flash-error" hidden> You can’t perform that action at this time.
0