Updated README.md and updated required packages to include mio #6
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: C++ Build | |
'on': | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
sudo apt-get update -y | |
sudo apt-get install -y libzip-dev libeigen3-dev nlohmann-json3-dev libspdlog-dev | |
- name: Install Google Test v1.12.1 | |
run: | | |
git clone -b release-1.12.1 https://github.com/google/googletest.git | |
cd googletest | |
mkdir build | |
cd build | |
cmake .. | |
sudo make | |
sudo make install | |
- name: Install mio | |
run: | | |
git clone -b master https://github.com/vimpunk/mio.git | |
cd mio | |
mkdir build | |
cd build | |
cmake .. | |
sudo make | |
sudo make install | |
- name: Build C++ project | |
run: | | |
cmake -B build | |
make |