Skip to content

Commit

Permalink
Add ci action
Browse files Browse the repository at this point in the history
  • Loading branch information
xPaw committed Oct 3, 2024
1 parent 00ee58b commit d79c2b4
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: CI

on:
push:
pull_request:

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y cmake build-essential
- name: Create build directory
run: mkdir build && cd build

- name: Configure CMake
run: cmake ..

- name: Build
run: cmake --build . --parallel 4

0 comments on commit d79c2b4

Please sign in to comment.