Skip to content

Commit bc6f054

Browse files
committed
ci: more build fixes
1 parent 1ac6826 commit bc6f054

3 files changed

Lines changed: 48 additions & 31 deletions

File tree

.github/workflows/release.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,6 @@ jobs:
190190
--keychain $KEYCHAIN_PATH \
191191
--sign "$APPLICATION_KEY_IDENT" \
192192
--options runtime \
193-
--entitlements /dev/null \
194193
--force \
195194
--verbose \
196195
"$BINARY_PATH"

Cross.toml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[target.x86_64-unknown-linux-gnu]
2+
image = "ghcr.io/cross-rs/x86_64-unknown-linux-gnu:edge"
3+
4+
[target.x86_64-unknown-linux-musl]
5+
image = "ghcr.io/cross-rs/x86_64-unknown-linux-musl:edge"
6+
7+
[target.i686-unknown-linux-musl]
8+
image = "ghcr.io/cross-rs/i686-unknown-linux-musl:edge"
9+
10+
[target.aarch64-unknown-linux-musl]
11+
image = "ghcr.io/cross-rs/aarch64-unknown-linux-musl:edge"
12+
13+
[target.arm-unknown-linux-musleabihf]
14+
image = "ghcr.io/cross-rs/arm-unknown-linux-musleabihf:edge"
15+
16+
[target.x86_64-unknown-freebsd]
17+
image = "ghcr.io/cross-rs/x86_64-unknown-freebsd:edge"

playwright.config.ts

Lines changed: 31 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -52,37 +52,38 @@ export default defineConfig({
5252
},
5353
},
5454

55-
{
56-
name: 'firefox',
57-
use: {
58-
...devices['Desktop Firefox'],
59-
actionTimeout: 10000,
60-
},
61-
},
55+
/* Other browsers disabled for now to speed up CI */
56+
// {
57+
// name: 'firefox',
58+
// use: {
59+
// ...devices['Desktop Firefox'],
60+
// actionTimeout: 10000,
61+
// },
62+
// },
6263

63-
{
64-
name: 'webkit',
65-
use: {
66-
...devices['Desktop Safari'],
67-
actionTimeout: 10000,
68-
},
69-
},
64+
// {
65+
// name: 'webkit',
66+
// use: {
67+
// ...devices['Desktop Safari'],
68+
// actionTimeout: 10000,
69+
// },
70+
// },
7071

7172
/* Test against mobile viewports. */
72-
{
73-
name: 'Mobile Chrome',
74-
use: {
75-
...devices['Pixel 5'],
76-
actionTimeout: 10000,
77-
},
78-
},
79-
{
80-
name: 'Mobile Safari',
81-
use: {
82-
...devices['iPhone 12'],
83-
actionTimeout: 10000,
84-
},
85-
},
73+
// {
74+
// name: 'Mobile Chrome',
75+
// use: {
76+
// ...devices['Pixel 5'],
77+
// actionTimeout: 10000,
78+
// },
79+
// },
80+
// {
81+
// name: 'Mobile Safari',
82+
// use: {
83+
// ...devices['iPhone 12'],
84+
// actionTimeout: 10000,
85+
// },
86+
// },
8687

8788
/* Test against branded browsers. */
8889
// {
@@ -97,10 +98,10 @@ export default defineConfig({
9798

9899
/* Run your local dev server before starting the tests */
99100
webServer: {
100-
command: 'npm run build-css && cargo run -- server ./seed --port 9080',
101+
command: 'npm run build-css && cargo build && ./target/debug/cook server ./seed --port 9080',
101102
url: 'http://localhost:9080',
102103
reuseExistingServer: !process.env.CI,
103-
timeout: 120 * 1000,
104+
timeout: 300 * 1000, // 5 minutes for CI builds
104105
stdout: 'pipe',
105106
stderr: 'pipe',
106107
},

0 commit comments

Comments
 (0)