Skip to content

Commit aca0e58

Browse files
committed
Replace Travis with Github Actions
1 parent 8c740da commit aca0e58

2 files changed

Lines changed: 20 additions & 7 deletions

File tree

.github/workflows/build-cmake.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: CMake Build Matrix
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- run: "Job was automatically triggered by a ${{ github.event_name }} event."
10+
- uses: actions/checkout@v4
11+
- run: "Building branch ${{ github.ref }} from repo ${{ github.repository }}"
12+
- name: Configure with CMake
13+
- run: cmake -B ${{github.workspace}}/build
14+
- name: Build main project
15+
- run: cmake --build ${{github.workspace}}/build
16+
- name: Build tests
17+
- run: cmake --build ${{github.workspace}}/build --target tests
18+
- name: Run tests
19+
- run: ctest --test-dir ${{github.workspace}}/build/src
20+

.travis.yml

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)