Skip to content

Commit

Permalink
[1.x] CI: switch the gcc 10 build with gcc 9
Browse files Browse the repository at this point in the history
The main target now uses gcc 13.
We need to check with an older version too (gcc 9 is the minimum available).
  • Loading branch information
robUx4 committed Jan 5, 2025
1 parent 79654ca commit a380c2d
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Linux gcc10 Build"
name: "Linux gcc9 Build"
on:
push:
branches: [ v1.x ]
Expand All @@ -7,24 +7,24 @@ on:

jobs:
build_libmatroska:
name: libmatroska for Linux gcc10
runs-on: ubuntu-latest
name: libmatroska for Linux gcc9
runs-on: ubuntu-20.04
steps:
- name: Get pushed code
uses: actions/checkout@v3

- name: Checkout libebml
uses: actions/checkout@v3
with:
with:
repository: Matroska-Org/libebml
path: libebml
ref: v1.x

- name: Configure libebml
run: cmake -S libebml -B libebml/_build
env:
CC: gcc-10
CXX: g++-10
CC: gcc-9
CXX: g++-9

- name: Build libebml
run: cmake --build libebml/_build --parallel
Expand All @@ -35,8 +35,8 @@ jobs:
- name: Configure CMake
run: cmake -S . -B _build -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"
env:
CC: gcc-10
CXX: g++-10
CC: gcc-9
CXX: g++-9

- name: Build with CMake
run: cmake --build _build --parallel
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[![Linux](https://github.com/Matroska-Org/libmatroska/actions/workflows/linux.yaml/badge.svg)](https://github.com/Matroska-Org/libmatroska/actions/workflows/linux.yaml)
[![Windows](https://github.com/Matroska-Org/libmatroska/actions/workflows/windows.yaml/badge.svg)](https://github.com/Matroska-Org/libmatroska/actions/workflows/windows.yaml)
[![macOS](https://github.com/Matroska-Org/libmatroska/actions/workflows/macos.yaml/badge.svg)](https://github.com/Matroska-Org/libmatroska/actions/workflows/macos.yaml)
[![GCC10](https://github.com/Matroska-Org/libmatroska/actions/workflows/linux-gcc10.yaml/badge.svg)](https://github.com/Matroska-Org/libmatroska/actions/workflows/linux-gcc10.yaml)
[![GCC9](https://github.com/Matroska-Org/libmatroska/actions/workflows/linux-gcc9.yaml/badge.svg)](https://github.com/Matroska-Org/libmatroska/actions/workflows/linux-gcc9.yaml)

# libmatroska
a C++ library to parse and create Matroska files
Expand Down

0 comments on commit a380c2d

Please sign in to comment.