Skip to content

Commit 299162e

Browse files
author
{your_name}
committed
2 parents ab8d294 + fd5854b commit 299162e

File tree

3 files changed

+70
-8
lines changed

3 files changed

+70
-8
lines changed

.github/workflows/build.yml.rej

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
--- .github/workflows/build.yml
2+
+++ .github/workflows/build.yml
3+
@@ -67,17 +67,18 @@ jobs:
4+
strategy:
5+
matrix:
6+
config:
7+
- - os: windows-2019
8+
- certificate-secret: WINDOWS_SIGNING_CERTIFICATE_PFX # Name of the secret that contains the certificate.
9+
- certificate-password-secret: WINDOWS_SIGNING_CERTIFICATE_PASSWORD # Name of the secret that contains the certificate password.
10+
- certificate-extension: pfx # File extension for the certificate.
11+
- - os: ubuntu-20.04
12+
- - os: macos-latest
13+
- # APPLE_SIGNING_CERTIFICATE_P12 secret was produced by following the procedure from:
14+
- # https://www.kencochrane.com/2020/08/01/build-and-sign-golang-binaries-for-macos-with-github-actions/#exporting-the-developer-certificate
15+
- certificate-secret: APPLE_SIGNING_CERTIFICATE_P12
16+
- certificate-password-secret: KEYCHAIN_PASSWORD
17+
- certificate-extension: p12
18+
+# - os: windows-2019
19+
+# certificate-secret: WINDOWS_SIGNING_CERTIFICATE_PFX # Name of the secret that contains the certificate.
20+
+# certificate-password-secret: WINDOWS_SIGNING_CERTIFICATE_PASSWORD # Name of the secret that contains the certificate password.
21+
+# certificate-extension: pfx # File extension for the certificate.
22+
+# - os: ubuntu-20.04
23+
+# - os: macos-latest
24+
+# # APPLE_SIGNING_CERTIFICATE_P12 secret was produced by following the procedure from:
25+
+# # https://www.kencochrane.com/2020/08/01/build-and-sign-golang-binaries-for-macos-with-github-actions/#exporting-the-developer-certificate
26+
+# certificate-secret: APPLE_SIGNING_CERTIFICATE_P12
27+
+# certificate-password-secret: KEYCHAIN_PASSWORD
28+
+# certificate-extension: p12
29+
+ - os: self-hosted
30+
runs-on: ${{ matrix.config.os }}
31+
timeout-minutes: 90
32+
33+
@@ -93,6 +94,7 @@ jobs:
34+
cache: 'yarn'
35+
36+
- name: Install Python 3.x
37+
+ if: matrix.config.os != 'self-hosted'
38+
uses: actions/setup-python@v4
39+
with:
40+
python-version: '3.x'
41+
@@ -166,6 +168,10 @@ jobs:
42+
name: Linux_X86-64_zip
43+
- path: '*Linux_64bit.AppImage'
44+
name: Linux_X86-64_app_image
45+
+ - path: '*Linux_arm64.zip'
46+
+ name: Linux_arm64_zip
47+
+ - path: '*Linux_arm64.AppImage'
48+
+ name: Linux_arm64_app_image
49+
- path: '*macOS_64bit.dmg'
50+
name: macOS_dmg
51+
- path: '*macOS_64bit.zip'

.github/workflows/buildarm.yml

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ jobs:
6363
build:
6464
name: build (${{ matrix.config.name }})
6565
needs: run-determination
66+
if: needs.run-determination.outputs.result == 'true'
6667
env:
6768
BUILD_ARTIFACTS_PATH: electron-app/dist/build-artifacts
6869
strategy:
@@ -82,17 +83,21 @@ jobs:
8283
runs-on: ${{ matrix.config.runs-on }}
8384
container: ${{ fromJSON(matrix.config.container) }}
8485
steps:
85-
- name: Checkout
86+
- name: Checkout Repository
8687
uses: actions/checkout@v4
8788

88-
- name: Install System Dependencies
89+
- name: Install Dependencies
8990
run: |
9091
sudo apt-get update
92+
<<<<<<< HEAD
9193
sudo apt-get install -y chromium-browser python3-distutils build-essential libssl-dev make gcc g++
9294

9395
- name: Configure Python for node-gyp
9496
run: |
9597
sudo npm config set python $(which python3)
98+
=======
99+
sudo apt-get install -y chromium-browser python3-distutils python3-pip build-essential libssl-dev
100+
>>>>>>> fd5854b13d82956104126877874b00c7b1e3be2b
96101

97102
- name: Install Node.js
98103
uses: actions/setup-node@v4
@@ -120,22 +125,28 @@ jobs:
120125
repo-token: ${{ secrets.GITHUB_TOKEN }}
121126
version: 3.x
122127

123-
- name: Set Chromium executable path for Puppeteer
128+
- name: Set Chromium Executable Path for Puppeteer
124129
run: |
125130
echo "PUPPETEER_EXECUTABLE_PATH=$(which chromium-browser)" >> $GITHUB_ENV
126131
127-
- name: Install Dependencies & Build
128-
env:
129-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
132+
- name: Install Project Dependencies
130133
run: |
131134
export PUPPETEER_SKIP_DOWNLOAD=true
132-
yarn install --check-files
135+
yarn install --frozen-lockfile --check-files
136+
137+
- name: Fix Potential Node-Gyp Issues
138+
run: |
139+
npm rebuild node-gyp
140+
yarn rebuild
141+
142+
- name: Build Project
143+
run: |
133144
yarn --cwd arduino-ide-extension build
134145
yarn --cwd electron-app rebuild
135146
yarn --cwd electron-app build
136147
yarn --cwd electron-app package
137148
138-
- name: Upload builds to job transfer artifact
149+
- name: Upload Builds to Job Transfer Artifact
139150
uses: actions/upload-artifact@v4
140151
with:
141152
name: ${{ env.JOB_TRANSFER_ARTIFACT_PREFIX }}${{ matrix.config.job-transfer-artifact-suffix }}

arduino-ide-extension/src/test/node/boards-service-impl.slow-test.ts.oqt7Fz9

Whitespace-only changes.

0 commit comments

Comments
 (0)