Add a Github Actions config #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |