Skip to content

Commit

Permalink
Create macos-ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janko-jj authored Jan 8, 2025
1 parent f3fb198 commit 9c19f57
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions .github/workflows/macos-ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
name: CI for macOS with Autotools

on: [push, pull_request]

jobs:
build:
runs-on: macos-latest

steps:
- name: Checkout stable branch
uses: actions/checkout@v2
with:
ref: stable

- name: Install Homebrew
run: |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> ~/.zprofile
eval "$(/opt/homebrew/bin/brew shellenv)"
- name: Install Autotools
run: |
brew install autoconf automake
- name: Run aclocal
run: aclocal -I .

- name: Run automake
run: automake --add-missing --copy

- name: Run autoconf
run: autoconf

- name: Configure
run: ./configure

- name: Build
run: make

- name: Run tests
run: make check

0 comments on commit 9c19f57

Please sign in to comment.