diff --git a/.github/workflows/linux-gcc13.yaml b/.github/workflows/linux-gcc13.yaml index 35758a99..0db812af 100644 --- a/.github/workflows/linux-gcc13.yaml +++ b/.github/workflows/linux-gcc13.yaml @@ -1,4 +1,4 @@ -name: "Linux gcc13 Build" +name: "Linux Latest Build" on: push: branches: [ v1.x ] @@ -7,17 +7,22 @@ on: jobs: build_libebml: - name: libebml for Linux gcc13 + name: libebml for Linux ${{ matrix.cxx }} runs-on: ubuntu-latest + strategy: + matrix: + cxx: ['g++-14', 'clang++-18'] + env: + CXX: ${{matrix.cxx}} steps: + - name: list compilers + run: dpkg --list | grep compiler + - name: Get pushed code uses: actions/checkout@v4 - name: Configure CMake run: cmake -S . -B _build -DCMAKE_INSTALL_PREFIX:STRING=${GITHUB_WORKSPACE}/_built -G Ninja - env: - CC: gcc-13 - CXX: g++-13 - name: Build with CMake run: cmake --build _build --parallel diff --git a/.github/workflows/linux.yaml b/.github/workflows/linux.yaml index a1dc5cbb..abb33751 100644 --- a/.github/workflows/linux.yaml +++ b/.github/workflows/linux.yaml @@ -22,3 +22,29 @@ jobs: - name: Test installation run: cmake --install _build --prefix ${GITHUB_WORKSPACE}/_built + + s390X: + name: libebml for Big Endian Linux + runs-on: ubuntu-latest + env: + CMAKE_OPTIONS: -DDEV_MODE=ON -DBUILD_TESTING=ON -DCMAKE_SYSTEM_PROCESSOR=s390x -DCMAKE_CROSSCOMPILING_EMULATOR="qemu-s390x;-L;/usr/s390x-linux-gnu/" -DCMAKE_CXX_COMPILER=s390x-linux-gnu-g++ -G Ninja + steps: + - name: install toolchain + run: | + sudo apt-get update + sudo apt-get install -y --no-install-recommends qemu-user crossbuild-essential-s390x qemu-system-s390x + + - name: list compilers + run: dpkg --list | grep compiler + + - name: Get pushed code + uses: actions/checkout@v4 + + - name: Configure + run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} -DCMAKE_INSTALL_PREFIX:STRING=${GITHUB_WORKSPACE}/_built + + - name: Build + run: cmake --build _build --parallel + + - name: Test installation + run: cmake --install _build --prefix ${GITHUB_WORKSPACE}/_built