Skip to content
Closed
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
56 changes: 4 additions & 52 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,64 +6,16 @@ on:
# branches: [ master ]

jobs:
Linux-GCC:
runs-on: ubuntu-20.04
Latest:
runs-on: ubuntu-24.04
strategy:
matrix:
cxx: ['7', '13']
cxx: ['g++-14', 'clang++-18']
env:
CMAKE_OPTIONS: -DDEV_MODE=ON -DBUILD_TESTING=ON
CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON
CXX: ${{matrix.cxx}}
steps:
- uses: egor-tensin/setup-gcc@v1
with:
version: ${{matrix.cxx}}

- name: Get pushed code
uses: actions/checkout@v4

- name: Checkout libebml
uses: actions/checkout@v4
with:
repository: Matroska-Org/libebml
path: libebml
# minimum version we support ref: 'release-1.4.3'

- name: Configure libebml
run: cmake -S libebml -B libebml/_build ${{ env.CMAKE_OPTIONS }}

- name: Build libebml
run: cmake --build libebml/_build --parallel

- name: Install libebml
run: cmake --install libebml/_build --prefix ${GITHUB_WORKSPACE}/_built

- name: Configure
run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"

- name: Build
run: cmake --build _build --parallel

- name: Test installation
run: cmake --install _build --prefix ${GITHUB_WORKSPACE}/_built

Linux-Clang:
runs-on: ubuntu-20.04
strategy:
matrix:
cxx: ['7', '18']
env:
CMAKE_OPTIONS: -DDEV_MODE=ON -DBUILD_TESTING=ON -DCMAKE_CXX_FLAGS="-stdlib=libc++"
CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON
steps:
- uses: egor-tensin/setup-clang@v1
with:
version: ${{matrix.cxx}}

- name: Install libc++
run: |
sudo apt install -y libc++abi-${{matrix.cxx}}-dev libc++-${{matrix.cxx}}-dev

- name: Get pushed code
uses: actions/checkout@v4

Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/macos.yaml

This file was deleted.

83 changes: 83 additions & 0 deletions .github/workflows/ubuntu-20.04.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
name: "Ubuntu 20.04"
on:
push:
branches: [ master ]
pull_request:
# branches: [ master ]

jobs:
GCC-7:
runs-on: ubuntu-20.04
env:
CMAKE_OPTIONS: -DDEV_MODE=ON -DBUILD_TESTING=ON
CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON
steps:
- uses: egor-tensin/setup-gcc@v1
with:
version: 7

- name: Get pushed code
uses: actions/checkout@v4

- name: Checkout libebml
uses: actions/checkout@v4
with:
repository: Matroska-Org/libebml
path: libebml
# minimum version we support ref: 'release-1.4.3'

- name: Configure libebml
run: cmake -S libebml -B libebml/_build ${{ env.CMAKE_OPTIONS }}

- name: Build libebml
run: cmake --build libebml/_build --parallel

- name: Install libebml
run: cmake --install libebml/_build --prefix ${GITHUB_WORKSPACE}/_built

- name: Configure
run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"

- name: Build
run: cmake --build _build --parallel

- name: Test installation
run: cmake --install _build --prefix ${GITHUB_WORKSPACE}/_built

Clang-7:
runs-on: ubuntu-20.04
env:
CMAKE_OPTIONS: -DDEV_MODE=ON -DBUILD_TESTING=ON
CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON
steps:
- uses: egor-tensin/setup-clang@v1
with:
version: 7

- name: Get pushed code
uses: actions/checkout@v4

- name: Checkout libebml
uses: actions/checkout@v4
with:
repository: Matroska-Org/libebml
path: libebml
# minimum version we support ref: 'release-1.4.3'

- name: Configure libebml
run: cmake -S libebml -B libebml/_build ${{ env.CMAKE_OPTIONS }}

- name: Build libebml
run: cmake --build libebml/_build --parallel

- name: Install libebml
run: cmake --install libebml/_build --prefix ${GITHUB_WORKSPACE}/_built

- name: Configure
run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"

- name: Build
run: cmake --build _build --parallel

- name: Test installation
run: cmake --install _build --prefix ${GITHUB_WORKSPACE}/_built
50 changes: 0 additions & 50 deletions .github/workflows/uwp.yaml

This file was deleted.

51 changes: 0 additions & 51 deletions .github/workflows/windows.yaml

This file was deleted.

1 change: 0 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ if(DEV_MODE)
set(CMAKE_CXX_EXTENSIONS OFF)
add_cxx_flag_if_supported(-Wno-error=unused-command-line-argument
-Wall -Wextra -Wpedantic -Wfatal-errors -fstack-protector-strong
-Wno-self-assign
-Wcast-align
-W4)
endif()
Expand Down
Loading