Forbid fd_advise on directories (#240) #706
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: uvwasi CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
name: ${{ matrix.os }} - ${{ matrix.config.variation }} | |
runs-on: ${{ matrix.os }} | |
timeout-minutes: 10 | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
config: | |
- {variation: 'standard', generate_options: ''} | |
include: | |
- os: ubuntu-latest | |
config: {variation: 'ASAN', generate_options: '-DASAN=ON -DCMAKE_BUILD_TYPE=Debug -DCMAKE_C_FLAGS="-Wall -Werror"'} | |
# This is currently broken in the latest libuv release, but fixed on | |
# the main branch. Just disable this until libuv v1.45.0 is released. | |
# - os: windows-latest | |
# config: {variation: 'ASAN', generate_options: '-DASAN=ON -DCMAKE_BUILD_TYPE=Debug'} | |
- os: ubuntu-latest | |
config: {variation: 'debug-log', generate_options: '-DUVWASI_DEBUG_LOG=ON -DCMAKE_C_FLAGS="-Wall -Werror"'} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Environment Information | |
run: npx envinfo | |
- name: Build and Test | |
run: | | |
cmake ${{ matrix.config.generate_options }} . | |
cmake --build . --target check |