Skip to content

feat: add CI workflow for Linux and macOS builds #1

feat: add CI workflow for Linux and macOS builds

feat: add CI workflow for Linux and macOS builds #1

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
build-linux:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: |
sudo apt-get update
sudo apt-get install -y build-essential autoconf automake libtool pkg-config
- name: Generate configure
run: ./autogen.sh
- name: Configure with Radiant support
run: ./configure --enable-rxd
- name: Build
run: make -j$(nproc)
- name: Run tests
run: make check
continue-on-error: true
build-macos:
runs-on: macos-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install dependencies
run: |
brew install autoconf automake libtool pkg-config
- name: Generate configure
run: ./autogen.sh
- name: Configure with Radiant support
run: ./configure --enable-rxd
- name: Build
run: make -j$(sysctl -n hw.ncpu)
- name: Run tests
run: make check
continue-on-error: true