|
30 | 30 | name: Linux_Meson_Testlog |
31 | 31 | path: build/meson-logs/testlog.txt |
32 | 32 |
|
| 33 | + build-cross-armhf: |
| 34 | + runs-on: ubuntu-latest |
| 35 | + steps: |
| 36 | + - name: set up arm architecture |
| 37 | + run: | |
| 38 | + export release=$(lsb_release -c -s) |
| 39 | + sudo dpkg --add-architecture armhf |
| 40 | + sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list |
| 41 | + sudo dd of=/etc/apt/sources.list.d/armhf.list <<EOF |
| 42 | + deb [arch=armhf] http://ports.ubuntu.com/ $release main universe restricted" |
| 43 | + deb [arch=armhf] http://ports.ubuntu.com/ $release-updates main universe restricted" |
| 44 | + EOF |
| 45 | + sudo apt update |
| 46 | + - name: install armhf compiler |
| 47 | + run: sudo apt install gcc-arm-linux-gnueabihf pkg-config |
| 48 | + - name: install libraries |
| 49 | + run: sudo apt install uuid-dev:armhf libjson-c-dev:armhf |
| 50 | + - uses: actions/checkout@v3 |
| 51 | + |
| 52 | + with: |
| 53 | + # suppress python for now; the python headers currently assume native |
| 54 | + setup-options: --werror --cross-file=.github/cross/ubuntu-armhf.txt --wrap-mode=nofallback -Dpython=false |
| 55 | + options: --verbose |
| 56 | + action: build |
| 57 | + - uses: actions/upload-artifact@v3 |
| 58 | + if: failure() |
| 59 | + with: |
| 60 | + name: Linux_Meson_Testlog |
| 61 | + path: build/meson-logs/testlog.txt |
| 62 | + |
| 63 | + build-cross-ppc64le: |
| 64 | + runs-on: ubuntu-latest |
| 65 | + steps: |
| 66 | + - name: set up ppc64le architecture |
| 67 | + run: | |
| 68 | + export release=$(lsb_release -c -s) |
| 69 | + sudo dpkg --add-architecture ppc64el |
| 70 | + sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list |
| 71 | + sudo dd of=/etc/apt/sources.list.d/ppc64el.list <<EOF |
| 72 | + deb [arch=ppc64el] http://ports.ubuntu.com/ $release main universe restricted" |
| 73 | + deb [arch=ppc64el] http://ports.ubuntu.com/ $release-updates main universe restricted" |
| 74 | + EOF |
| 75 | + sudo apt update |
| 76 | + - name: install powerpc64le compiler |
| 77 | + run: sudo apt install gcc-powerpc64le-linux-gnu pkg-config |
| 78 | + - name: install libraries |
| 79 | + run: sudo apt install uuid-dev:ppc64el libjson-c-dev:ppc64el |
| 80 | + - uses: actions/checkout@v3 |
| 81 | + |
| 82 | + with: |
| 83 | + # suppress python for now; the python headers currently assume native |
| 84 | + setup-options: --werror --cross-file=.github/cross/ubuntu-ppc64le.txt --wrap-mode=nofallback -Dpython=false |
| 85 | + options: --verbose |
| 86 | + action: build |
| 87 | + - uses: actions/upload-artifact@v3 |
| 88 | + if: failure() |
| 89 | + with: |
| 90 | + name: Linux_Meson_Testlog |
| 91 | + path: build/meson-logs/testlog.txt |
| 92 | + |
33 | 93 | build-fallback: |
34 | 94 | runs-on: ubuntu-latest |
35 | 95 | steps: |
|
0 commit comments