Skip to content

Commit

Permalink
build with gcc13 instead of gcc10
Browse files Browse the repository at this point in the history
It should provide better source checking,
  • Loading branch information
robUx4 committed Dec 18, 2023
1 parent 5b3b811 commit b85c6de
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: "Linux+gcc10"
name: "Linux+gcc13"
on:
push:
branches: [ master ]
Expand All @@ -7,7 +7,7 @@ on:

jobs:
build_libmatroska:
name: libmatroska with gcc10
name: libmatroska with gcc13
runs-on: ubuntu-latest
env:
CMAKE_OPTIONS: -DCMAKE_CXX_EXTENSIONS=OFF
Expand All @@ -17,19 +17,19 @@ jobs:

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

- name: Checkout libebml
uses: actions/checkout@v3
with:
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 }}
env:
CC: gcc-10
CXX: g++-10
CC: gcc-13
CXX: g++-13

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

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

0 comments on commit b85c6de

Please sign in to comment.