1name: ci-sample 2 3on: 4 pull_request: 5 paths: 6 - '**' 7 - '!docs/**' 8 - '!.**' 9 - 'docs/code/**' 10 - '.github/workflows/CI-sample.yml' 11 push: 12 branches: 13 - v[0-9].* 14 - master 15 16jobs: 17 build: 18 strategy: 19 fail-fast: false 20 matrix: 21 os: [macos-latest, ubuntu-latest, windows-latest] 22 runs-on: ${{matrix.os}} 23 steps: 24 - uses: actions/checkout@v4 25 - name: setup 26 run: cmake -E make_directory ${{runner.workspace}}/libuv/docs/code/build 27 - name: configure 28 # you may like use Ninja on unix-like OS, but for windows, the only easy way is to use Visual Studio if you want Ninja 29 run: cmake .. 30 working-directory: ${{runner.workspace}}/libuv/docs/code/build 31 - name: build 32 run: cmake --build . 33 working-directory: ${{runner.workspace}}/libuv/docs/code/build 34