Skip to content

Commit

Permalink
Add a Github Actions config
Browse files Browse the repository at this point in the history
  • Loading branch information
ldionne committed Nov 10, 2023
1 parent 38b7917 commit 806db3c
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Hana tests

permissions:
contents: read

on: [push, pull_request]

jobs:
clang_latest:
name: Clang Latest
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install clang-17 cmake ninja
- name: Configure CMake
run: mkdir build && cmake -S . -B build -G Ninja
- name: Run the tests
run: cmake --build build --target check

gcc_latest:
name: GCC Latest
runs-on: ubuntu-latest
steps:
- name: Install dependencies
run: sudo apt-get install gcc-13 cmake ninja
- name: Configure CMake
run: mkdir build && cmake -S . -B build -G Ninja
- name: Run the tests
run: cmake --build build --target check

apple_clang_latest:
name: Apple Clang Latest
runs-on: macos-latest
steps:
- name: Configure CMake
run: mkdir build && cmake -S . -B build -G Ninja
- name: Run the tests
run: cmake --build build --target check

0 comments on commit 806db3c

Please sign in to comment.