Update PB Common submodule to fix memory leak. #9
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: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
workflow_call: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
submodules: recursive | |
- name: Run apt update | |
run: sudo apt update | |
- name: Install LibYAML dependencies | |
run: sudo apt install -y autoconf libtool | |
- name: Build Common LibYAML | |
run: sudo make -C modules/common libyaml | |
- name: Build Common Main | |
run: make -C modules/common | |
- name: Install Common | |
run: sudo make -C modules/common install | |
- name: Build main | |
run: make | |
- name: Install main | |
run: sudo make install | |
- name: Store build artifacts | |
uses: actions/upload-artifact@master | |
with: | |
name: build-output | |
path: build/pcktbatch |