Apply most recent commit 36a81ee8bf12c5326dd7799b6a9d92223e1f9656 fro… #634
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: FluidSynth Solaris | |
| on: | |
| pull_request: | |
| push: | |
| paths-ignore: | |
| - '.azure/**' | |
| - '.circleci/**' | |
| - '.github/workflows/api_doc_build.yml' | |
| - '.github/workflows/linux.yml' | |
| - '.github/workflows/ios.yml' | |
| - '.github/workflows/rendering-regression.yml' | |
| - '.github/workflows/sonarcloud.yml' | |
| - '.github/workflows/windows.yml' | |
| - '.cirrus.yml' | |
| - 'README.md' | |
| env: | |
| # Customize the CMake build type here (Release, Debug, RelWithDebInfo, etc.) | |
| BUILD_TYPE: RelWithDebInfo | |
| # Use a bash shell so we can use the same syntax for environment variable | |
| # access regardless of the host operating system | |
| defaults: | |
| run: | |
| shell: bash | |
| jobs: | |
| solaris: | |
| name: Solaris | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| with: | |
| submodules: true | |
| - name: Build & test | |
| uses: vmactions/solaris-vm@v1.3.1 | |
| with: | |
| envs: 'CFLAGS_SOLARIS_CC' | |
| usesh: true | |
| release: "11.4-gcc" | |
| prepare: | | |
| pwd | |
| ls -la | |
| gcc --version | |
| g++ --version | |
| cmake --version | |
| ld --version | |
| exit 0 | |
| run: | | |
| set -ex | |
| cmake -S . \ | |
| -B build \ | |
| -DCMAKE_BUILD_TYPE=${{ env.BUILD_TYPE }} \ | |
| -DCMAKE_VERBOSE_MAKEFILE=1 \ | |
| -Denable-readline=0 \ | |
| -Werror=dev | |
| cmake --build build | |
| cmake --build build --target check | |
| cmake --build build --target demo | |