File tree Expand file tree Collapse file tree 1 file changed +67
-0
lines changed
Expand file tree Collapse file tree 1 file changed +67
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Generic X86 GitHub Build
2+
3+ on :
4+ push :
5+ pull_request :
6+
7+ jobs :
8+ build :
9+ name : Infix x86_64
10+ runs-on : ubuntu-latest
11+
12+ steps :
13+ - name : Checkout infix repo
14+ uses : actions/checkout@v4
15+ with :
16+ repository : ${{ github.repository }}
17+ ref : ${{ github.ref }}
18+ fetch-depth : 0
19+ submodules : recursive
20+
21+ - name : Set Build Variables
22+ id : vars
23+ run : |
24+ echo "INFIX_BUILD_ID=${{ github.run_id }}" >> $GITHUB_OUTPUT
25+ echo "dir=Infix-x86_64" >> $GITHUB_OUTPUT
26+ echo "tgz=Infix-x86_64.tar.gz" >> $GITHUB_OUTPUT
27+ echo "flv=_minimal" >> $GITHUB_OUTPUT
28+
29+ - name : Configure x86_64_minimal
30+ run : |
31+ make x86_64_minimal_defconfig
32+
33+ - name : Build x86_64_minimal
34+ run : |
35+ make
36+
37+ - name : Unit Test x86_64
38+ run : |
39+ make test-unit
40+
41+ - name : Check SBOM
42+ run : |
43+ make legal-info
44+
45+ - name : Build test spec
46+ run : |
47+ make test-spec
48+
49+ - name : Report Build Size
50+ run : |
51+ du -sh .
52+ du -sh output
53+ du -sh dl || true
54+ ls -l output/images/
55+
56+ - name : Prepare Artifact
57+ run : |
58+ cd output/
59+ mv images Infix-x86_64
60+ ln -s Infix-x86_64 images
61+ tar cfz Infix-x86_64.tar.gz Infix-x86_64
62+
63+ - uses : actions/upload-artifact@v4
64+ with :
65+ path : output/Infix-x86_64.tar.gz
66+ name : artifact-x86_64
67+
You can’t perform that action at this time.
0 commit comments