commit - 184aa396e187c9499c81cec2b55a705694512585
commit + 313d2353e6753cfc7d573af2246f7df471ef81fa
blob - /dev/null
blob + 5aaf637b66eee5b3f342060a2b5c032117e7ccff (mode 644)
--- /dev/null
+++ .github/workflows/test.yml
+name: Build and test
+
+on:
+ pull_request:
+ types: [ opened, reopened, synchronize ]
+ workflow_dispatch:
+ branches: [ master ]
+ push:
+ branches: [ master ]
+
+jobs:
+ macos:
+ runs-on: macos-11
+
+ steps:
+ - uses: actions/checkout@master
+ with:
+ fetch-depth: 1
+
+ - name: Setup packages
+ run: |
+ brew update-reset
+ brew upgrade
+ brew install --cask osxfuse
+ brew install cmake python3 fio
+ sudo python3 -m pip install pytest
+
+ - name: Running CMake
+ run: cmake -S . -B build
+
+ - name: Building
+ run: cmake --build build --parallel $(nproc)