Auto unregister keyboard hookx wen uninitialize. #28
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: CMake Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macos-latest] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up CMake | |
uses: jwlawson/actions-setup-cmake@v2 | |
with: | |
cmake-version: '3.25.0' | |
- name: Install packages | |
if: matrix.os == 'ubuntu-latest' | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y libspeechd-dev | |
- name: Configure CMake | |
run: cmake . -B build -DCMAKE_OSX_ARCHITECTURES=x86_64 | |
- name: Build with CMake | |
run: cmake --build build --config Release | |
- name: Archive artifact | |
uses: actions/upload-artifact@v2 | |
with: | |
name: ${{ matrix.os }}-build | |
path: build | |