mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
- continuous integration: download zmusic instead of building it
This commit is contained in:
parent
7eef7614f8
commit
28107df1e8
1 changed files with 11 additions and 9 deletions
20
.github/workflows/continuous_integration.yml
vendored
20
.github/workflows/continuous_integration.yml
vendored
|
@ -73,20 +73,22 @@ jobs:
|
||||||
if [[ ! -z "${{ matrix.config.deps_cmdline }}" ]]; then
|
if [[ ! -z "${{ matrix.config.deps_cmdline }}" ]]; then
|
||||||
eval ${{ matrix.config.deps_cmdline }}
|
eval ${{ matrix.config.deps_cmdline }}
|
||||||
fi
|
fi
|
||||||
# Build and install ZMusic
|
|
||||||
mkdir build
|
mkdir build
|
||||||
cd build
|
if [[ "${{ runner.os }}" == 'macOS' ]]; then
|
||||||
git clone https://github.com/coelckers/ZMusic.git
|
export ZMUSIC_PACKAGE=zmusic-1.1.7-macos.tar.bz2
|
||||||
cd ZMusic
|
elif [[ "${{ runner.os }}" == 'Linux' ]]; then
|
||||||
git checkout 1.1.6
|
export ZMUSIC_PACKAGE=zmusic-1.1.7-linux.tar.bz2
|
||||||
cd ..
|
fi
|
||||||
cmake -B zmusic_build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_INSTALL_PREFIX=`pwd`/zmusic_install ${{ matrix.config.extra_options }} ZMusic
|
if [[ ! -z "${ZMUSIC_PACKAGE}" ]]; then
|
||||||
cmake --build zmusic_build --target install --parallel 3
|
cd build
|
||||||
|
wget -q "https://github.com/coelckers/gzdoom/releases/download/ci_deps/${ZMUSIC_PACKAGE}"
|
||||||
|
tar -xf "${ZMUSIC_PACKAGE}"
|
||||||
|
fi
|
||||||
|
|
||||||
- name: Configure
|
- name: Configure
|
||||||
shell: bash
|
shell: bash
|
||||||
run: |
|
run: |
|
||||||
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_PREFIX_PATH=`pwd`/build/zmusic_install ${{ matrix.config.extra_options }} .
|
cmake -B build -DCMAKE_BUILD_TYPE=${{ matrix.config.build_type }} -DCMAKE_PREFIX_PATH=`pwd`/build/zmusic ${{ matrix.config.extra_options }} .
|
||||||
|
|
||||||
- name: Build
|
- name: Build
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
Loading…
Reference in a new issue