-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3c9a4d4
commit b62cc9e
Showing
1 changed file
with
37 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: Unlogic CI | ||
|
||
on: | ||
push: | ||
branches: [ "main" ] | ||
pull_request: | ||
branches: [ "main" ] | ||
|
||
jobs: | ||
deps: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Install System Dependencies | ||
run: sudo apt install -y python3 pipx build-essential cmake llvm-17-dev | ||
- name: Install Conan | ||
run: sudo pipx install conan | ||
- name: Configure Project and Install Conan Dependencies | ||
run: ./kickstart.sh Release | ||
build: | ||
runs-on: ubuntu-latest | ||
needs: deps | ||
steps: | ||
- name: Configure Project | ||
run: cd cmake-build-release && cmake .. -DCMAKE_TOOLCHAIN_FILE="conan_toolchain.cmake" -DCMAKE_BUILD_TYPE=Release -G "Ninja" | ||
- name: Build Project | ||
run: cd cmake-build-release && cmake --build . --target unlogic-test | ||
test: | ||
runs-on: ubuntu-latest | ||
needs: build | ||
steps: | ||
- name: Unlogic Tests | ||
run: cd cmake-build-release && ./unlogic-test | ||
|
||
|