Skip to content

Commit f6275f9

Browse files
Akos Kittakittaakos
authored andcommitted
feat: build IDE2 on darwin arm64
- Use Node.js 16+, - All workflow files use `.yml` instead of `.yaml`, - Use Arduino LS `0.7.2`, - Updated `electron-builder` to `23.3.3`, - Removed unused `conf-node-gyp.sh`, - Removed unused `THEIA_ELECTRON_SKIP_REPLACE_FFMPEG`, and - Aligned `[email protected]`, `[email protected]` to Theia. Co-authored-by: per1234 <[email protected]> Co-authored-by: Akos Kitta <[email protected]> Signed-off-by: Akos Kitta <[email protected]>
1 parent 0d05509 commit f6275f9

21 files changed

+75
-158
lines changed

.github/workflows/build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,10 +57,10 @@ jobs:
5757
- name: Checkout
5858
uses: actions/checkout@v2
5959

60-
- name: Install Node.js 14.x
60+
- name: Install Node.js 16.x
6161
uses: actions/setup-node@v1
6262
with:
63-
node-version: '14.x'
63+
node-version: '16.x'
6464
registry-url: 'https://registry.npmjs.org'
6565

6666
- name: Install Python 3.x

.github/workflows/check-i18n-task.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,10 +29,10 @@ jobs:
2929
- name: Checkout repository
3030
uses: actions/checkout@v2
3131

32-
- name: Install Node.js 14.x
32+
- name: Install Node.js 16.x
3333
uses: actions/setup-node@v2
3434
with:
35-
node-version: '14.x'
35+
node-version: '16.x'
3636
registry-url: 'https://registry.npmjs.org'
3737

3838
- name: Install Go

.github/workflows/compose-full-changelog.yaml renamed to .github/workflows/compose-full-changelog.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88
env:
99
CHANGELOG_ARTIFACTS: changelog
1010
# See: https://github.com/actions/setup-node/#readme
11-
NODE_VERSION: 14.x
11+
NODE_VERSION: 16.x
1212

1313
jobs:
1414
create-changelog:

.github/workflows/i18n-nightly-push.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v2
1818

19-
- name: Install Node.js 14.x
19+
- name: Install Node.js 16.x
2020
uses: actions/setup-node@v2
2121
with:
22-
node-version: '14.x'
22+
node-version: '16.x'
2323
registry-url: 'https://registry.npmjs.org'
2424

2525
- name: Install Go

.github/workflows/i18n-weekly-pull.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@ jobs:
1616
- name: Checkout
1717
uses: actions/checkout@v2
1818

19-
- name: Install Node.js 14.x
19+
- name: Install Node.js 16.x
2020
uses: actions/setup-node@v2
2121
with:
22-
node-version: '14.x'
22+
node-version: '16.x'
2323
registry-url: 'https://registry.npmjs.org'
2424

2525
- name: Install Go

.github/workflows/themes-weekly-pull.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
env:
1010
# See vars.GO_VERSION field of https://github.com/arduino/arduino-cli/blob/master/DistTasks.yml
1111
GO_VERSION: "1.17"
12-
NODE_VERSION: 14.x
12+
NODE_VERSION: 16.x
1313

1414
jobs:
1515
pull-from-jsonbin:

arduino-ide-extension/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@
168168
"version": "14.0.0"
169169
},
170170
"languageServer": {
171-
"version": "0.7.1"
171+
"version": "0.7.2"
172172
}
173173
}
174174
}

arduino-ide-extension/scripts/download-cli.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,9 @@
4242
const suffix = (() => {
4343
switch (platform) {
4444
case 'darwin':
45+
if (arch === 'arm64') {
46+
return 'macOS_ARM64.tar.gz';
47+
}
4548
return 'macOS_64bit.tar.gz';
4649
case 'win32':
4750
return 'Windows_64bit.zip';

0 commit comments

Comments
 (0)