File tree Expand file tree Collapse file tree 1 file changed +54
-0
lines changed
Expand file tree Collapse file tree 1 file changed +54
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Win/Mac/Linux
2+
3+ on :
4+ push :
5+ branches :
6+ - binutils-2_45_1-cedev
7+
8+ jobs :
9+ build :
10+ strategy :
11+ fail-fast : false
12+ matrix :
13+ runs-on : [ubuntu-22.04, macos-15-intel, macos-14, windows-latest]
14+ include :
15+ - nul : /dev/null
16+ - runs-on : macos-15-intel
17+ arch-suffix : " -intel"
18+ install-output-ext : " dmg"
19+ - runs-on : macos-14
20+ arch-suffix : " -arm"
21+ install-output-ext : " dmg"
22+ - runs-on : windows-latest
23+ env : " env:"
24+ exe : .exe
25+ nul : nul
26+ install-output-ext : " zip"
27+ - runs-on : ubuntu-22.04
28+ install-output-ext : " tar.gz"
29+ runs-on : ${{matrix.runs-on}}
30+ steps :
31+ - name : Prepare Build Environment
32+ run : cmake -E echo >> $${{matrix.env}}GITHUB_PATH
33+
34+ - name : Build binutils
35+ run : |
36+ cd ${{github.workspace}}
37+ CC=gcc ./configure --target=z80-none-elf --prefix=${{github.workspace}}/binutils
38+ make -j4 && make install -j4
39+
40+ - name : " [Linux] Tar install"
41+ if : runner.os == 'Linux'
42+ run : |
43+ tar -C ${{github.workspace}} -czvf binutils-${{runner.os}}.${{matrix.install-output-ext}} binutils
44+ - name : " [Windows] Zip install"
45+ if : runner.os == 'Windows'
46+ run : |
47+ cd ${{github.workspace}} && 7z a -tzip binutils-${{runner.os}}.${{matrix.install-output-ext}} binutils
48+
49+ - name : Upload CEdev
50+ uses : actions/upload-artifact@v4
51+ with :
52+ name : binutils-${{runner.os}}${{matrix.arch-suffix}}
53+ path : binutils-${{runner.os}}${{matrix.arch-suffix}}.${{matrix.install-output-ext}}
54+
You can’t perform that action at this time.
0 commit comments