Skip to content

Commit

Permalink
CI: don't build Windows DLLs anymore
Browse files Browse the repository at this point in the history
  • Loading branch information
robUx4 committed Dec 28, 2023
1 parent 2108f71 commit 07fd09b
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,12 @@ on:

jobs:
build_libmatroska:
name: libmatroska ${{ matrix.arch.name }} ${{ matrix.config }} ${{ matrix.shared.name }}
name: libmatroska ${{ matrix.arch.name }} ${{ matrix.config }}
runs-on: windows-latest
strategy:
fail-fast: false
matrix:
config: [Debug, Release]
shared: [
{ "name": "Dynamic", "option": "ON"},
{ "name": "Static", "option": "OFF"}
]
arch: [
{ "name": "x64", "option": "x64"},
{ "name": "x86", "option": "win32"},
Expand All @@ -30,25 +26,25 @@ 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 ${{ matrix.shared.name }} libebml
run: cmake -S libebml -B libebml/_build ${{ env.CMAKE_OPTIONS }} -A ${{ matrix.arch.option }} -DBUILD_SHARED_LIBS=${{ matrix.shared.option }}
- name: Configure libebml
run: cmake -S libebml -B libebml/_build ${{ env.CMAKE_OPTIONS }} -A ${{ matrix.arch.option }}

- name: Build libebml
run: cmake --build libebml/_build --config ${{ matrix.config }} --parallel

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

- name: Configure ${{ matrix.shared.name }} library
run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -A ${{ matrix.arch.option }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DBUILD_SHARED_LIBS=${{ matrix.shared.option }}
- name: Configure library
run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -A ${{ matrix.arch.option }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"

- name: Build
run: cmake --build _build --config ${{ matrix.config }} --parallel
Expand Down

0 comments on commit 07fd09b

Please sign in to comment.