Use lock for async read monitor dir thread result. #33
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: Build | |
on: [push] | |
jobs: | |
Build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test | |
- run: sudo apt install -y cmake gcc-12 g++-12 ninja-build | |
- run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10 | |
- run: sudo update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-12 10 | |
- run: mkdir build && cd build && cmake .. -G Ninja -DCMAKE_BUILD_TYPE=Release && ninja | |
- name: Archive artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: autogit | |
path: build/bin/autogit |