Skip to content

Create c-cpp.yml

Create c-cpp.yml #1

Workflow file for this run

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