sim_switch_test: link oancommon for NetworkMapper symbol #2
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: CI | |
| on: | |
| push: | |
| branches: ['**'] | |
| pull_request: | |
| branches: ['**'] | |
| jobs: | |
| build-test: | |
| name: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| submodules: recursive | |
| - name: Install deps (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| cmake ninja-build pkg-config \ | |
| qt6-base-dev libsndfile1-dev libgtest-dev | |
| - name: Install deps (macOS) | |
| if: runner.os == 'macOS' | |
| run: | | |
| brew update | |
| brew install cmake ninja qt6 libsndfile googletest | |
| - name: Configure | |
| run: | | |
| cmake -G Ninja -B build \ | |
| -DCMAKE_BUILD_TYPE=RelWithDebInfo \ | |
| -DOAN_HOST_BACKENDS=ON \ | |
| -DCMAKE_PREFIX_PATH="$(brew --prefix qt6 2>/dev/null || echo /usr)" | |
| - name: Build | |
| run: cmake --build build | |
| - name: Test | |
| working-directory: build | |
| run: ctest --output-on-failure |