unix: use the presence of SOCK_* instead of OS macros for socketpair #1512
Workflow file for this run
This file contains 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-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@v2 | |
- 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 |