Skip to content

Avoid Passing Primitive Types as References #163

Avoid Passing Primitive Types as References

Avoid Passing Primitive Types as References #163

Workflow file for this run

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/checkout@v4.1.7
with:
path: musen
- name: Install test dependencies
run: |
sudo apt-get update
sudo apt-get install -y libgtest-dev
- 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