Skip to content

Commit

Permalink
CI
Browse files Browse the repository at this point in the history
  • Loading branch information
yomichi committed Jul 1, 2024
1 parent 65b425d commit 1da31af
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: CI

on: [push]

jobs:
ctest:
runs-on: ${{ matrix.os }}

strategy:
matrix:
os: [ubuntu-22.04, ubuntu-20.04, macos-13]
fail-fast: false

steps:
- uses: actions/checkout@v4

- name: make workspace
run: cmake -E make_directory ${{runner.workspace}}/build

- name: cmake
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake -DCMAKE_VERBOSE_MAKEFILE=ON $GITHUB_WORKSPACE

- name: build
working-directory: ${{runner.workspace}}/build
shell: bash
run: cmake --build ./ -j4

- name: ctest
working-directory: ${{runner.workspace}}/build
shell: bash
run: ctest -V

0 comments on commit 1da31af

Please sign in to comment.