You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
replacing `<YOUR_VERSION>` with the version you want. Then create a PR and merge it.
177
+
178
+
## Manual build
179
+
180
+
Creating the release for Ubuntu 18.04 ([arduino/arduino-ide#2018](https://github.com/arduino/arduino-ide/issues/2018)) and macOS M1 ([arduino/arduino-ide#408](https://github.com/arduino/arduino-ide/issues/408)) is a manual procedure.
181
+
182
+
### Ubuntu 18.04
183
+
- Prerequisites:
184
+
- Ask the DevOps team for an EC2 instance with at least 8 GB of RAM.
185
+
- Your account must have access to the staging environment.
186
+
- You have VPN connection to staging.
187
+
- Setup:
188
+
- To install all required dependencies, run the following script:
- You have to upload the following artifacts from `./arduino-ide/electron/build/dist` to S3:
221
+
- `arduino-ide_${VERSION}_Linux_64bit.AppImage`,
222
+
- `arduino-ide_${VERSION}_Linux_64bit.zip`, and
223
+
- `stable-linux.yml`
224
+
225
+
### macOS M1
226
+
- Prerequisites:
227
+
- You need access to the shared Mac Mini at Toolbox. Use TeamViewer.
228
+
- You have access to the `FT Web Tooling` 1Password vault.
229
+
- Setup:
230
+
- Download the `Pro-IDE-Certificates.p12` file from `Arduino Pro IDE Apple Developer ID Certificate .p12 format` and put it somewhere on the Mac Mini. This example assumes you put the `.p12` file in the `arduino-ide` repository root, and your `cwd` is also in the `arduino-ide` repository root.
231
+
- The following environment variables must be available from the shell:
232
+
- `AC_PASSWORD`: Check `Arduino Apple developer ID App Specific Password`
233
+
- `AC_USERNAME`: Check `Arduino Apple developer ID App Specific Password`
234
+
- `AC_TEAM_ID`: "KT7ZWMCJT"
235
+
- `CSC_KEY_PASSWORD`: Check `Arduino Pro IDE Apple Developer ID certificate keychain password`
236
+
- `CSC_LINK`: `Pro-IDE-Certificates.p12` file on the Mac Mini
Since you cannot drag and drop via TeamViewer, you will install the app from a command line. This example puts the IDE2 into the Desktop. Do **NOT** try to bypass the installation with a double click and open from the UI. The `node_modules` folder of the source code is implicitly in the `$PATH`, and you want to verify if the app is fully functional without the `node_modules` folder.
&&~/Desktop/Arduino\ IDE.app/Contents/MacOS/Arduino\ IDE
268
+
```
269
+
270
+
- Cleanup:
271
+
- You **MUST** close the shell after the build.
272
+
- You **MUST** delete the `.p12` file and empty the trash afterward.
273
+
274
+
- Artifacts:
275
+
- You have to upload the following artifacts from `./arduino-ide/electron/build/dist` to S3, but first, you must create the final channel file from the `latest-mac.yaml`:
276
+
- `arduino-ide_${VERSION}_macOS_arm64.dmg`,
277
+
- `arduino-ide_${VERSION}_macOS_arm64.zip`, and
278
+
- `stable-mac.yml`
279
+
- To create the final channel file, do the followings:
280
+
- Copy the `stable-mac.yml` file from the Mac Mini to a folder and rename it to `stable-mac-ARM64.yml`.
281
+
- Download the `stable-mac.yaml` produced by GitHub Actions from the latest release, rename it to `stable-mac-X64.yml`, and put it in the same folder where you put the file from the Mac Mini.
- You have the merged channel file that you need to upload to S3.
287
+
288
+
### FAQ
289
+
- Q: I see no `stable` channel files, only `latest`.
290
+
- A: You forgot to set the `CI=true` environment variable.
291
+
292
+
----
293
+
294
+
- Q: How to connect to the EC2 instance?
295
+
- A: DevOps will give you a temporary link to the private key. Create a file `username_ip.pem`in your cwd, copy the private key into the file, open a shell, and execute `ssh -i "username_ip.pem" username@ip`. DevOps will tell you the `username` and the `ip`. Do not forget the VPN.
296
+
297
+
----
298
+
299
+
- Q: How to download the files from the EC2 instance?
0 commit comments