Skip to content

fixed warning and compilation #2

fixed warning and compilation

fixed warning and compilation #2

Workflow file for this run

name: compilation and test
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
jobs:
build-ubuntu-clang:
name: ubuntu-clang
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Create build directory
run: mkdir build
- name: Configure CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: cmake --build ${{github.workspace}}/build
- name: Test
working-directory: ${{github.workspace}}/build
run: ./test
build-macos:
name: macos
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- name: Create build directory
run: mkdir build
- name: Configure CMake
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: cmake --build ${{github.workspace}}/build
- name: Test
working-directory: ${{github.workspace}}/build
run: ./test
build-windows:
name: windows
runs-on: windows-latest
steps:
- uses: actions/checkout@v3
- name: Create build directory
run: mkdir build
- name: Configure CMake
working-directory: ${{github.workspace}}
run: cmake -S . -B build
- name: Build
working-directory: ${{github.workspace}}
run: cmake --build ${{github.workspace}}/build