runs-on: ubuntu-latest\r
env:\r
CMAKE_OPTIONS: -DCMAKE_CXX_EXTENSIONS=OFF\r
- CMAKE_MATROSKA_OPTIONS: ${{ env.CMAKE_OPTIONS }} -DBUILD_EXAMPLES=ON\r
+ CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON\r
steps:\r
- uses: lukka/get-cmake@latest\r
\r
run: cmake --install libebml/_build --prefix ${GITHUB_WORKSPACE}/_built\r
\r
- name: Configure CMake\r
- run: cmake -S . -B _build ${{ env.CMAKE_MATROSKA_OPTIONS }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"\r
+ run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"\r
env:\r
CC: gcc-10\r
CXX: g++-10\r
runs-on: ubuntu-latest\r
env:\r
CMAKE_OPTIONS: -DCMAKE_CXX_EXTENSIONS=OFF\r
- CMAKE_MATROSKA_OPTIONS: ${{ env.CMAKE_OPTIONS }} -DBUILD_EXAMPLES=ON\r
+ CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON\r
steps:\r
- uses: lukka/get-cmake@latest\r
\r
run: cmake --install libebml/_build --prefix ${GITHUB_WORKSPACE}/_built\r
\r
- name: Configure CMake \r
- run: cmake -S . -B _build ${{ env.CMAKE_MATROSKA_OPTIONS }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"\r
+ run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"\r
\r
- name: Build\r
run: cmake --build _build --parallel\r
arch: [x86_64, arm64]\r
env:\r
CMAKE_OPTIONS: -DCMAKE_CXX_EXTENSIONS=OFF\r
- CMAKE_MATROSKA_OPTIONS: ${{ env.CMAKE_OPTIONS }} -DBUILD_EXAMPLES=ON\r
+ CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON\r
steps:\r
- uses: lukka/get-cmake@latest\r
\r
run: cmake --install libebml/_build --prefix ${GITHUB_WORKSPACE}/_built\r
\r
- name: Configure CMake \r
- run: cmake -S . -B _build ${{ env.CMAKE_MATROSKA_OPTIONS }} -DCMAKE_OSX_ARCHITECTURES="${{ matrix.arch }}" -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"\r
+ run: cmake -S . -B _build ${{ env.CMAKE_OPTIONS }} ${{ env.CMAKE_MATROSKA_OPTIONS }} -DCMAKE_OSX_ARCHITECTURES="${{ matrix.arch }}" -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML"\r
\r
- name: Build with CMake\r
run: cmake --build _build --parallel\r
]\r
env:\r
CMAKE_OPTIONS: -DCMAKE_CXX_EXTENSIONS=OFF -DCMAKE_SYSTEM_NAME="WindowsStore" -DCMAKE_SYSTEM_VERSION="10.0" -DCMAKE_CXX_FLAGS_INIT="-DWINVER=0x0A00 -DWINAPI_FAMILY=WINAPI_FAMILY_PC_APP"\r
- CMAKE_MATROSKA_OPTIONS: ${{ env.CMAKE_OPTIONS }} -DBUILD_EXAMPLES=ON\r
+ CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON\r
steps:\r
- uses: lukka/get-cmake@latest\r
\r
run: cmake --install libebml/_build --config ${{ matrix.config }} --prefix ${GITHUB_WORKSPACE}/_built\r
\r
- name: Configure library\r
- run: cmake -S . -B _build ${{ env.CMAKE_MATROSKA_OPTIONS }} -A ${{ matrix.arch.option }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DBUILD_SHARED_LIBS=OFF\r
+ 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=OFF\r
\r
- name: Build\r
run: cmake --build _build --config ${{ matrix.config }} --parallel\r
]\r
env:\r
CMAKE_OPTIONS: -DCMAKE_CXX_EXTENSIONS=OFF -DCMAKE_CXX_FLAGS_INIT="-DWINVER=0x0501"\r
- CMAKE_MATROSKA_OPTIONS: ${{ env.CMAKE_OPTIONS }} -DBUILD_EXAMPLES=ON\r
+ CMAKE_MATROSKA_OPTIONS: -DBUILD_EXAMPLES=ON\r
steps:\r
- uses: lukka/get-cmake@latest\r
\r
run: cmake --install libebml/_build --config ${{ matrix.config }} --prefix ${GITHUB_WORKSPACE}/_built\r
\r
- name: Configure ${{ matrix.shared.name }} library\r
- run: cmake -S . -B _build ${{ env.CMAKE_MATROSKA_OPTIONS }} -A ${{ matrix.arch.option }} -DEBML_DIR="${GITHUB_WORKSPACE}/_built/lib/cmake/EBML" -DBUILD_SHARED_LIBS=${{ matrix.shared.option }}\r
+ 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 }}\r
\r
- name: Build\r
run: cmake --build _build --config ${{ matrix.config }} --parallel\r