\r
jobs:\r
build_libmatroska:\r
- name: libmatroska ${{ matrix.config }} ${{ matrix.shared }}\r
+ name: libmatroska ${{ matrix.arch }} ${{ matrix.config }} ${{ matrix.shared }}\r
runs-on: windows-latest\r
strategy:\r
fail-fast: false\r
matrix:\r
config: [Debug, Release]\r
shared: [Dynamic, Static]\r
+ arch: [x64, win32, arm64]\r
steps:\r
- uses: lukka/get-cmake@latest\r
\r
\r
- name: Configure static libebml\r
if: ${{ matrix.shared == 'Static' }}\r
- run: cmake -S libebml -B libebml/_build -DBUILD_SHARED_LIBS=OFF\r
+ run: cmake -S libebml -B libebml/_build -A ${{ matrix.arch }} -DBUILD_SHARED_LIBS=OFF\r
- name: Configure dynamic libebml\r
if: ${{ matrix.shared == 'Dynamic' }}\r
- run: cmake -S libebml -B libebml/_build -DBUILD_SHARED_LIBS=ON\r
+ run: cmake -S libebml -B libebml/_build -A ${{ matrix.arch }} -DBUILD_SHARED_LIBS=ON\r
\r
- name: Build libebml\r
run: cmake --build libebml/_build --config ${{ matrix.config }} --parallel\r
\r
- name: Configure static library\r
if: ${{ matrix.shared == 'Static' }}\r
- run: cmake -S . -B _build -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DBUILD_SHARED_LIBS=OFF\r
+ run: cmake -S . -B _build -A ${{ matrix.arch }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DBUILD_SHARED_LIBS=OFF\r
- name: Configure dynamic library\r
if: ${{ matrix.shared == 'Dynamic' }}\r
- run: cmake -S . -B _build -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DBUILD_SHARED_LIBS=ON\r
+ run: cmake -S . -B _build -A ${{ matrix.arch }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DBUILD_SHARED_LIBS=ON\r
\r
- name: Build\r
run: cmake --build _build --config ${{ matrix.config }} --parallel\r