[#6] Initial user and developer guides #46
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: CI | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
build-linux: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Update system | |
run: sudo apt update -y | |
- name: Install libev | |
run: sudo apt install -y libev4 libev-dev | |
- name: Install gcc-9 | |
run: sudo apt install -y gcc-9 | |
- name: Update alternatives | |
run: sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-9 60 | |
- name: mkdir | |
run: mkdir build | |
working-directory: /home/runner/work/pgprtdbg/pgprtdbg/ | |
- name: cmake | |
run: cmake -DCMAKE_BUILD_TYPE=Release .. | |
working-directory: /home/runner/work/pgprtdbg/pgprtdbg/build/ | |
- name: make | |
run: make | |
working-directory: /home/runner/work/pgprtdbg/pgprtdbg/build/ | |
build-macos: | |
runs-on: macos-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install Homebrew | |
run: /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
- name: Update system | |
run: brew update | |
- name: Install libev | |
run: brew install libev | |
- name: Install clang | |
run: brew install llvm | |
- name: mkdir | |
run: mkdir build | |
working-directory: /Users/runner/work/pgprtdbg/pgprtdbg/ | |
- name: cmake | |
run: cmake -DCMAKE_BUILD_TYPE=Debug .. | |
working-directory: /Users/runner/work/pgprtdbg/pgprtdbg/build/ | |
- name: make | |
run: make | |
working-directory: /Users/runner/work/pgprtdbg/pgprtdbg/build/ |