view third_party/libuv/.github/workflows/CI-sample.yml @ 168:f3084bca7317

[Misc] Fixed all errors and all tests should pass now.
author MrJuneJune <me@mrjunejune.com>
date Mon, 19 Jan 2026 16:29:02 -0800
parents 948de3f54cea
children
line wrap: on
line source

name: ci-sample

on:
  pull_request:
    paths:
      - '**'
      - '!docs/**'
      - '!.**'
      - 'docs/code/**'
      - '.github/workflows/CI-sample.yml'
  push:
    branches:
      - v[0-9].*
      - master

jobs:
  build:
    strategy:
      fail-fast: false
      matrix:
        os: [macos-latest, ubuntu-latest, windows-latest]
    runs-on: ${{matrix.os}}
    steps:
      - uses: actions/checkout@v4
      - name: setup
        run: cmake -E make_directory ${{runner.workspace}}/libuv/docs/code/build
      - name: configure
        # 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
        run: cmake ..
        working-directory: ${{runner.workspace}}/libuv/docs/code/build
      - name: build
        run: cmake --build .
        working-directory: ${{runner.workspace}}/libuv/docs/code/build