File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 88
99jobs :
1010
11- build-linux-x86 :
11+ build-linux-gnu :
1212 runs-on : ubuntu-latest
1313 strategy :
1414 fail-fast : false
1515 matrix :
16+ name : [AMD64, i386, arm]
17+ platformflags : ["", "-m32"]
18+ platformtools : ["", "", "arm-linux-gnueabi"]
19+ emulator : ["", "", "qemu-arm"]
1620 include :
1721 - platformflags : " "
1822 name : " AMD64"
1923 - platformflags : -m32
2024 name : " i386"
21- name : build-linux-x86 (${{matrix.name}})
25+ name : build-linux-gnu (${{matrix.name}})
2226 env :
2327 PLATFORMFLAGS : ${{matrix.platformflags}}
28+ PLATFORM_PREFIX : ${{matrix.platformtools}}-
29+ EMULATOR : ${{matrix.emulator}}
2430 steps :
2531 - uses : actions/checkout@v2
2632 - name : install multilib
2733 run : sudo apt-get install --no-install-recommends -y gcc-multilib g++-multilib
2834 if : ${{ matrix.name == 'i386' }}
35+ - name : install qemu
36+ if : matrix.emulator
37+ run : sudo apt-get install --no-install-recommends -y qemu-user
38+ - name : install abi lib
39+ if : matrix.platformtools
40+ run : sudo apt-get install --no-install-recommends -y gcc-${{matrix.platformtools}} g++-${{matrix.platformtools}}
2941 - name : make
3042 run : make all
3143 - name : test
You can’t perform that action at this time.
0 commit comments