Inline the example sources into the examples page instead of copying … #25
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 | |
| # Windows isn't built here. It was thrashing through CI iteration cycles | |
| # (~15-20 min each for a vcpkg rebuild) to find and fix real source gaps | |
| # (dlopen/sockets/setenv, then Windows path handling) - too slow a loop for | |
| # that kind of work. It's built and tested locally now, on an actual | |
| # Windows machine. See docs/windows-test-harness.md for that loop once it | |
| # exists here the way it does in the rayact repo. | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: seanmiddleditch/gha-setup-ninja@master | |
| - name: Install dependencies (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y libssl-dev libcurl4-openssl-dev zlib1g-dev libuv1-dev libffi-dev | |
| - name: Install dependencies (macOS) | |
| if: runner.os == 'macOS' | |
| run: brew install openssl@3 libuv libffi | |
| - name: Configure | |
| run: cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Debug -DSXN_ENABLE_POISON=ON | |
| - name: Build | |
| run: cmake --build build | |
| - name: Test | |
| run: ctest --test-dir build --output-on-failure | |