diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6aac414cd..e1328c322 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -150,57 +150,6 @@ jobs: libjack-jackd2-dev:armhf ls /usr/arm-linux-gnueabihf/lib - - name: Configure (System Libraries) - if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }} - run: | - export USE_WAE=ON - export CMAKE_EXTRA_ARGS=() - if [ '${{ matrix.config.compiler }}' == 'msvc' ]; then - CMAKE_EXTRA_ARGS+=('-DCMAKE_GENERATOR_PLATFORM=${{ steps.windows-identify.outputs.msvc-target }}') - elif [ '${{ matrix.config.compiler }}' == 'mingw' ]; then - CMAKE_EXTRA_ARGS+=('-DCMAKE_TOOLCHAIN_FILE=scripts/Cross-MinGW-${{ steps.windows-identify.outputs.mingw-target }}.cmake') - else - # Test with system libs - CMAKE_EXTRA_ARGS+=( - '-DSYSTEM_FMT=OFF' - '-DSYSTEM_LIBSNDFILE=ON' - '-DSYSTEM_RTMIDI=ON' - '-DSYSTEM_ZLIB=ON' - '-DWITH_JACK=ON' - ) - # Too old on Ubuntu - if [ '${{ runner.os }}' == 'macOS' ]; then - CMAKE_EXTRA_ARGS+=('-DSYSTEM_SDL2=ON') - fi - fi - - cmake \ - -B ${PWD}/build \ - -DCMAKE_INSTALL_PREFIX=${PWD}/target \ - -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \ - -DWARNINGS_ARE_ERRORS=${USE_WAE} \ - "${CMAKE_EXTRA_ARGS[@]}" - - - name: Build (System Libraries) - if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }} - run: | - cmake \ - --build ${PWD}/build \ - --config ${{ env.BUILD_TYPE }} \ - --parallel ${{ steps.build-cores.outputs.amount }} - - - name: Install (System Libraries) - if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }} - run: | - cmake \ - --install ${PWD}/build \ - --config ${{ env.BUILD_TYPE }} - - - name: Cleanup (System Libraries) - if: ${{ runner.os == 'Linux' && matrix.config.compiler != 'mingw' && matrix.config.arch == 'x86_64' }} - run: | - rm -rf build/ target/ - - name: Configure run: | export USE_WAE=ON