File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -133,3 +133,28 @@ jobs:
133133 shell : bash
134134 run : |
135135 cmake --build build --config Release --target run-test
136+
137+ big-endian :
138+ runs-on : ubuntu-latest
139+
140+ steps :
141+ - name : Checkout
142+ uses : actions/checkout@v4
143+
144+ - name : Setup
145+ run : |
146+ sudo apt-get update
147+ sudo apt-get install -y ninja-build gcc-powerpc-linux-gnu g++-powerpc-linux-gnu qemu-user-binfmt
148+
149+ - name : Configure
150+ run : |
151+ export CC=powerpc-linux-gnu-gcc
152+ export CXX=powerpc-linux-gnu-g++
153+ export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu/
154+ cmake -GNinja -S . -B build -DCMAKE_BUILD_TYPE=Release -DCMAKE_SYSTEM_PROCESSOR=powerpc
155+
156+ - name : Build and Test
157+ shell : bash
158+ run : |
159+ export QEMU_LD_PREFIX=/usr/powerpc-linux-gnu/
160+ cmake --build build --config Release --target run-test
You can’t perform that action at this time.
0 commit comments