Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .github/workflows/linux-gcc13.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Linux gcc13 Build"
name: "Linux Latest Build"
on:
push:
branches: [ v1.x ]
Expand All @@ -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
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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