Skip to content

Commit

Permalink
update github actions vonfigurations
Browse files Browse the repository at this point in the history
  • Loading branch information
omoghaoghenemano committed Sep 17, 2024
1 parent 2ee66af commit 117e21d
Showing 1 changed file with 10 additions and 11 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
name: A
name: InfernoAI CI

on:
push:
branches:
- master
- main
pull_request:
branches:
- master
- main

jobs:
build:
Expand All @@ -16,24 +16,23 @@ jobs:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up CMake
uses: cmake/setup-cmake@v3
with:
cmake-version: '3.24' # Specify the CMake version you need

- name: Install dependencies
- name: Install CMake
run: |
sudo apt-get update
sudo apt-get install -y cmake
- name: Install build tools
run: |
sudo apt-get install -y build-essential
- name: Build C++ Library
- name: Build InfernoAI Library
run: |
mkdir -p build
cd build
cmake ..
make
- name: Run C++ Tests
- name: Run InfernoAI Tests
run: |
cd build
./run_tests

0 comments on commit 117e21d

Please sign in to comment.