|
46 | 46 | - name: install armhf compiler |
47 | 47 | run: sudo apt install gcc-arm-linux-gnueabihf pkg-config qemu-user-static |
48 | 48 | - name: install libraries |
49 | | - run: sudo apt install uuid-dev:armhf libjson-c-dev:armhf |
| 49 | + run: sudo apt install libjson-c-dev:armhf |
50 | 50 | - uses: actions/checkout@v3 |
51 | 51 | |
52 | 52 | with: |
|
76 | 76 | - name: install powerpc64le compiler |
77 | 77 | run: sudo apt install gcc-powerpc64le-linux-gnu pkg-config qemu-user-static |
78 | 78 | - name: install libraries |
79 | | - run: sudo apt install uuid-dev:ppc64el libjson-c-dev:ppc64el |
| 79 | + run: sudo apt install libjson-c-dev:ppc64el |
80 | 80 | - uses: actions/checkout@v3 |
81 | 81 | |
82 | 82 | with: |
|
90 | 90 | name: Linux_Meson_Testlog |
91 | 91 | path: build/meson-logs/testlog.txt |
92 | 92 |
|
| 93 | + build-cross-s390x: |
| 94 | + runs-on: ubuntu-latest |
| 95 | + steps: |
| 96 | + - name: set up s390x architecture |
| 97 | + run: | |
| 98 | + export release=$(lsb_release -c -s) |
| 99 | + sudo dpkg --add-architecture s390x |
| 100 | + sudo sed -i -e 's/deb http/deb [arch=amd64] http/g' /etc/apt/sources.list |
| 101 | + sudo dd of=/etc/apt/sources.list.d/s390x.list <<EOF |
| 102 | + deb [arch=s390x] http://ports.ubuntu.com/ $release main universe restricted" |
| 103 | + deb [arch=s390x] http://ports.ubuntu.com/ $release-updates main universe restricted" |
| 104 | + EOF |
| 105 | + sudo apt update |
| 106 | + - name: install s390x compiler |
| 107 | + run: sudo apt install gcc-s390x-linux-gnu pkg-config qemu-user-static |
| 108 | + - name: install libraries |
| 109 | + run: sudo apt install libjson-c-dev:s390x |
| 110 | + - uses: actions/checkout@v3 |
| 111 | + |
| 112 | + with: |
| 113 | + # suppress python for now; the python headers currently assume native |
| 114 | + setup-options: --werror --cross-file=.github/cross/ubuntu-s390x.txt --wrap-mode=nofallback -Dpython=false |
| 115 | + options: --verbose |
| 116 | + action: test |
| 117 | + - uses: actions/upload-artifact@v3 |
| 118 | + if: failure() |
| 119 | + with: |
| 120 | + name: Linux_Meson_Testlog |
| 121 | + path: build/meson-logs/testlog.txt |
| 122 | + |
93 | 123 | build-fallback: |
94 | 124 | runs-on: ubuntu-latest |
95 | 125 | steps: |
|
0 commit comments