Skip to content

chore: bump actions/deploy-pages from 4.0.4 to 4.0.5 (#57) #122

chore: bump actions/deploy-pages from 4.0.4 to 4.0.5 (#57)

chore: bump actions/deploy-pages from 4.0.4 to 4.0.5 (#57) #122

# Copyright (c) 2021 ICHIRO ITS
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.
name: Build and Test
on:
workflow_dispatch:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
build-and-test:
runs-on: ubuntu-20.04
steps:
- name: Checkout this repository
uses: actions/[email protected]
with:
path: musen
- name: Install test dependencies
run: |
sudo apt-get update
sudo apt-get install -y cppcheck libgtest-dev uncrustify
sudo pip install cpplint
- name: Create a build directory
run: mkdir build
- name: Configure CMake
working-directory: build
run: cmake -DBUILD_TESTING=ON ../musen
- name: Build the project
working-directory: build
run: make -j8
- name: Test the project
working-directory: build
run: ctest --verbose