Skip to content

Commit a80246d

Browse files
LoreneNumworksHugoNumworks
authored andcommitted
chore(ci): adapt flags and timeout to github runs
1 parent a2e8902 commit a80246d

File tree

8 files changed

+21
-21
lines changed

8 files changed

+21
-21
lines changed

.github/workflows/build-device.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
default: false
88

99
env:
10-
MAKEFLAGS: -j32
10+
MAKEFLAGS: -j2
1111

1212
jobs:
1313
build:

.github/workflows/build-web.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
default: false
88

99
env:
10-
MAKEFLAGS: -j32
10+
MAKEFLAGS: -j2
1111
DEBUG: ${{ fromJSON(github.event.inputs.debug) && '1' || '0' }}
1212

1313
jobs:

.github/workflows/ci.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -32,18 +32,18 @@ concurrency:
3232
cancel-in-progress: true
3333

3434
env:
35-
MAKEFLAGS: -j32
35+
MAKEFLAGS: -j2
3636

3737
jobs:
3838
device:
39-
timeout-minutes: 15
39+
timeout-minutes: 60
4040
runs-on: ubuntu-latest
4141
if: ${{ (fromJSON(github.event.inputs.device)) }}
4242
strategy:
4343
matrix:
4444
model: [n0110, n0115, n0120]
4545
env:
46-
MAKEFLAGS: -j32
46+
MAKEFLAGS: -j2
4747
steps:
4848
- uses: actions/checkout@v4
4949

@@ -72,7 +72,7 @@ jobs:
7272
- if: ${{ steps.core.outcome == 'success' }}
7373
run: $DOCKER_RUN "make MODEL=${{ matrix.model }} bench.ram.dfu"
7474
windows:
75-
timeout-minutes: 15
75+
timeout-minutes: 60
7676
runs-on: windows-latest
7777
if: ${{ (fromJSON(github.event.inputs.windows)) }}
7878
defaults:
@@ -99,10 +99,10 @@ jobs:
9999
name: epsilon-windows.exe
100100
path: output/debug/optimized/windows/epsilon.exe
101101
linux:
102-
timeout-minutes: 15
102+
timeout-minutes: 60
103103
runs-on: ubuntu-latest
104104
env:
105-
MAKEFLAGS: -j32
105+
MAKEFLAGS: -j2
106106
steps:
107107
- uses: actions/checkout@v4
108108

@@ -125,7 +125,7 @@ jobs:
125125
name: epsilon-linux.bin
126126
path: output/debug/optimized/linux/epsilon.bin
127127
macos:
128-
timeout-minutes: 15
128+
timeout-minutes: 60
129129
runs-on: macOS-latest
130130
if: ${{ (fromJSON(github.event.inputs.macos)) }}
131131
env:
@@ -141,10 +141,10 @@ jobs:
141141
name: epsilon-macos.zip
142142
path: output/debug/optimized/macos/epsilon.app
143143
poincarejs:
144-
timeout-minutes: 15
144+
timeout-minutes: 60
145145
runs-on: ubuntu-latest
146146
env:
147-
MAKEFLAGS: -j32
147+
MAKEFLAGS: -j2
148148
steps:
149149
- name: Checkout
150150
uses: actions/checkout@v4

.github/workflows/code_coverage.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ on: workflow_call
44

55
jobs:
66
coverage:
7-
timeout-minutes: 15
7+
timeout-minutes: 60
88
runs-on: ubuntu-latest
99
env:
10-
MAKEFLAGS: -j32
10+
MAKEFLAGS: -j2
1111
COVERAGE_OUTPUT_DIR: 'output/debug/no_assert/linux/coverage'
1212
steps:
1313
- name: Fetch target branch and PR branch

.github/workflows/compare-screenshots.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,15 @@ on:
99
- 'external_apps/**'
1010

1111
env:
12-
MAKEFLAGS: -j32
12+
MAKEFLAGS: -j2
1313

1414
concurrency:
1515
group: ${{ github.workflow }}-${{ github.ref }}
1616
cancel-in-progress: true
1717

1818
jobs:
1919
compare_crc:
20-
timeout-minutes: 15
20+
timeout-minutes: 60
2121
runs-on: ubuntu-latest
2222
steps:
2323
- name: Checkout PR's merged head
@@ -27,8 +27,8 @@ jobs:
2727
- name: Build PR head
2828
run: $DOCKER_RUN "make TOOLCHAIN=host-clang PLATFORM=simulator ASSERTIONS=1 epsilon.bin epsilon.cas.bin"
2929
- name: Compare crc of screenshots (No CAS)
30-
timeout-minutes: 15
30+
timeout-minutes: 60
3131
run: $DOCKER_RUN "\$PYTHON build/screenshots/compare_crc.py output/debug/optimized/linux/epsilon.bin -n"
3232
- name: Compare crc of screenshots (CAS)
33-
timeout-minutes: 15
33+
timeout-minutes: 60
3434
run: $DOCKER_RUN "\$PYTHON build/screenshots/compare_crc.py -d tests/screenshots_dataset_cas output/debug/optimized/linux/epsilon.cas.bin -n"

.github/workflows/external_apps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
- 'external_apps/**'
66

77
env:
8-
MAKEFLAGS: -j32
8+
MAKEFLAGS: -j2
99

1010
concurrency:
1111
group: ${{ github.workflow }}-${{ github.ref }}

.github/workflows/metrics-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@ on:
1010
- '**/scandium/**'
1111
- 'external_apps/**'
1212
env:
13-
MAKEFLAGS: -j32 PLATFORM=n0120
13+
MAKEFLAGS: -j2 PLATFORM=n0120
1414

1515
concurrency:
1616
group: ${{ github.workflow }}-${{ github.ref }}
1717
cancel-in-progress: true
1818

1919
jobs:
2020
binary-size:
21-
timeout-minutes: 15
21+
timeout-minutes: 60
2222
runs-on: ubuntu-latest
2323
steps:
2424
- name: Fetch target branch and PR branch

.github/workflows/metrics-comment.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
99
comment-binary-size:
10-
timeout-minutes: 15
10+
timeout-minutes: 60
1111
runs-on: ubuntu-latest
1212
if: ${{ github.event.workflow_run.conclusion == 'success' }}
1313
steps:

0 commit comments

Comments
 (0)