Skip to content

Commit

Permalink
Create c-cpp.yml
Browse files Browse the repository at this point in the history
Sh0g0-1758 authored Nov 7, 2024
1 parent f963ee9 commit be699bd
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/c-cpp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Rchan CI

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

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

- name: Configure CMake
working-directory: ./build
run: cmake ..

- name: Build
working-directory: ./build
run: make

- name: Run Rchan tests
working-directory: ./build
run: make testRchan

- name: Run Speed tests
working-directory: ./build
run: make testSpeed

0 comments on commit be699bd

Please sign in to comment.