Skip to content

fix github ci/cd for cmake #86

fix github ci/cd for cmake

fix github ci/cd for cmake #86

Workflow file for this run

name: C/C++ CI
on:
push:
branches: [ cmake ]
pull_request:
branches: [ cmake ]
jobs:
build:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./build
steps:
- uses: actions/checkout@v2
- name: create build directory
run: mkdir -p ${{ github.workspace }}/build
working-directory: ${{ github.workspace }}
- name: install build dependencies
run: sudo apt-get -y install libx11-dev libxmu-dev libxft-dev libxrender-dev libxrandr-dev libpng-dev libxpm-dev uthash-dev autoconf automake
- name: configure
run: cmake ..
- name: make
run: cmake --build .
- name: check
run: ctest