Skip to content

Commit ff9c109

Browse files
author
{your_name}
committed
test5
1 parent 188f596 commit ff9c109

File tree

1 file changed

+91
-0
lines changed

1 file changed

+91
-0
lines changed

self_hosted_runner.patch

Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
1+
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
2+
index 1c830648..ab6ac95a 100644
3+
--- a/.github/workflows/build.yml
4+
+++ b/.github/workflows/build.yml
5+
@@ -67,17 +67,18 @@ jobs:
6+
strategy:
7+
matrix:
8+
config:
9+
- - os: windows-2019
10+
- certificate-secret: WINDOWS_SIGNING_CERTIFICATE_PFX # Name of the secret that contains the certificate.
11+
- certificate-password-secret: WINDOWS_SIGNING_CERTIFICATE_PASSWORD # Name of the secret that contains the certificate password.
12+
- certificate-extension: pfx # File extension for the certificate.
13+
- - os: ubuntu-20.04
14+
- - os: macos-latest
15+
- # APPLE_SIGNING_CERTIFICATE_P12 secret was produced by following the procedure from:
16+
- # https://www.kencochrane.com/2020/08/01/build-and-sign-golang-binaries-for-macos-with-github-actions/#exporting-the-developer-certificate
17+
- certificate-secret: APPLE_SIGNING_CERTIFICATE_P12
18+
- certificate-password-secret: KEYCHAIN_PASSWORD
19+
- certificate-extension: p12
20+
+# - os: windows-2019
21+
+# certificate-secret: WINDOWS_SIGNING_CERTIFICATE_PFX # Name of the secret that contains the certificate.
22+
+# certificate-password-secret: WINDOWS_SIGNING_CERTIFICATE_PASSWORD # Name of the secret that contains the certificate password.
23+
+# certificate-extension: pfx # File extension for the certificate.
24+
+# - os: ubuntu-20.04
25+
+# - os: macos-latest
26+
+# # APPLE_SIGNING_CERTIFICATE_P12 secret was produced by following the procedure from:
27+
+# # https://www.kencochrane.com/2020/08/01/build-and-sign-golang-binaries-for-macos-with-github-actions/#exporting-the-developer-certificate
28+
+# certificate-secret: APPLE_SIGNING_CERTIFICATE_P12
29+
+# certificate-password-secret: KEYCHAIN_PASSWORD
30+
+# certificate-extension: p12
31+
+ - os: self-hosted
32+
runs-on: ${{ matrix.config.os }}
33+
timeout-minutes: 90
34+
35+
@@ -93,6 +94,7 @@ jobs:
36+
cache: 'yarn'
37+
38+
- name: Install Python 3.x
39+
+ if: matrix.config.os != 'self-hosted'
40+
uses: actions/setup-python@v4
41+
with:
42+
python-version: '3.x'
43+
@@ -166,6 +168,10 @@ jobs:
44+
name: Linux_X86-64_zip
45+
- path: '*Linux_64bit.AppImage'
46+
name: Linux_X86-64_app_image
47+
+ - path: '*Linux_arm64.zip'
48+
+ name: Linux_arm64_zip
49+
+ - path: '*Linux_arm64.AppImage'
50+
+ name: Linux_arm64_app_image
51+
- path: '*macOS_64bit.dmg'
52+
name: macOS_dmg
53+
- path: '*macOS_64bit.zip'
54+
diff --git a/arduino-ide-extension/src/test/node/boards-service-impl.slow-test.ts b/arduino-ide-extension/src/test/node/boards-service-impl.slow-test.ts
55+
index fbd5aeb4..a3b865bb 100644
56+
--- a/arduino-ide-extension/src/test/node/boards-service-impl.slow-test.ts
57+
+++ b/arduino-ide-extension/src/test/node/boards-service-impl.slow-test.ts
58+
@@ -20,6 +20,7 @@ describe('boards-service-impl', () => {
59+
60+
describe('search', () => {
61+
it('should run search', async function () {
62+
+ this.timeout(20_000);
63+
const result = await boardService.search({});
64+
expect(result).is.not.empty;
65+
});
66+
diff --git a/arduino-ide-extension/src/test/node/node-test-bindings.ts b/arduino-ide-extension/src/test/node/node-test-bindings.ts
67+
index 2b4c651f..c61b00f5 100644
68+
--- a/arduino-ide-extension/src/test/node/node-test-bindings.ts
69+
+++ b/arduino-ide-extension/src/test/node/node-test-bindings.ts
70+
@@ -318,7 +318,7 @@ export async function startDaemon(
71+
configService.onStart();
72+
daemon.onStart();
73+
await Promise.all([
74+
- waitForEvent(daemon.onDaemonStarted, 10_000),
75+
+ waitForEvent(daemon.onDaemonStarted, 20_000),
76+
coreClientProvider.client,
77+
]);
78+
if (startCustomizations) {
79+
diff --git a/arduino-ide-extension/package.json b/arduino-ide-extension/package.json
80+
index eccac3c5..d30a39e3 100644
81+
--- a/arduino-ide-extension/package.json
82+
+++ b/arduino-ide-extension/package.json
83+
@@ -140,7 +140,7 @@
84+
"reporter": "spec",
85+
"colors": true,
86+
"watch-extensions": "js",
87+
- "timeout": 10000
88+
+ "timeout": 20000
89+
},
90+
"files": [
91+
"lib",

0 commit comments

Comments
 (0)