Skip to content

Commit a77e00b

Browse files
authored
Merge pull request #2 from aifoundry-org/et-builds
custom build for et
2 parents 4f1749c + 0c5e8d1 commit a77e00b

File tree

6 files changed

+27
-5
lines changed

6 files changed

+27
-5
lines changed

.github/workflows/build-reusable.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ on:
3030
description: "Languages list"
3131
type: string
3232
default: '[""]'
33+
report:
34+
description: "Generate build report"
35+
type: boolean
36+
default: true
3337
sim:
3438
description: "Simulator"
3539
type: string
@@ -63,6 +67,7 @@ jobs:
6367
echo "Target list: ${{ inputs.target }}"
6468
echo "Compiler list: ${{ inputs.compiler }}"
6569
echo "C model list: ${{ inputs.cmodel }}"
70+
echo "Report: ${{ inputs.report }}"
6671
echo "Languages list: ${{ inputs.languages }}"
6772
echo "Simulator: ${{ inputs.sim }}"
6873
@@ -111,6 +116,7 @@ jobs:
111116
sim: ${{ fromJSON(inputs.sim) }}
112117
cmodel: ${{ fromJSON(inputs.cmodel) }}
113118
languages: ${{ fromJSON(inputs.languages) }}
119+
report: ${{ inputs.report }}
114120

115121
exclude:
116122
- mode: musl
@@ -167,6 +173,7 @@ jobs:
167173
matrix.os == 'ubuntu-24.04'
168174
&& (matrix.mode == 'linux' || matrix.mode == 'newlib')
169175
&& matrix.compiler == 'gcc'
176+
&& matrix.report == true
170177
run: |
171178
make report-${{ matrix.mode }} -j $(nproc)
172179

.github/workflows/build.yaml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,18 +4,26 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7-
- master
7+
- et # change back to `master` after upstreaming
88
pull_request:
99
branches:
10-
- master
10+
- et # change back to `master` after upstreaming
1111

1212
jobs:
1313
build:
1414
uses: ./.github/workflows/build-reusable.yaml
1515
with:
1616
artifact-name: build
17+
target: '["rv64imfc-lp64f"]'
18+
os: '["ubuntu-24.04"]'
19+
mode: '["newlib"]'
20+
cmodel: '["medany"]'
21+
languages: '["c,c++"]'
22+
report: false
1723

1824
test-sim:
25+
# disable until upstreamed
26+
if: ${{ false }}
1927
uses: ./.github/workflows/build-reusable.yaml
2028
with:
2129
artifact-name: sim

.github/workflows/nightly-release.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,13 @@ jobs:
5555
needs: [activity-check]
5656
if: needs.activity-check.outputs.stale != 'true'
5757
uses: ./.github/workflows/build-reusable.yaml
58+
with:
59+
target: '["rv64imfc-lp64f"]'
60+
os: '["ubuntu-24.04"]'
61+
mode: '["newlib"]'
62+
cmodel: '["medany"]'
63+
languages: '["c,c++"]'
64+
report: 'false'
5865

5966
create-release:
6067
needs: [build]

dejagnu

Submodule dejagnu updated from 3ea7702 to 899e151

spike

Submodule spike updated 292 files

0 commit comments

Comments
 (0)