Skip to content

Commit

Permalink
Create macOS job
Browse files Browse the repository at this point in the history
  • Loading branch information
rdmark authored Jan 28, 2024
1 parent 4a3e6ac commit 598325a
Showing 1 changed file with 22 additions and 3 deletions.
25 changes: 22 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ env:
libncurses-dev
jobs:
build:

build-ubuntu:
name: Ubuntu
runs-on: ubuntu-latest

steps:
Expand All @@ -33,6 +33,25 @@ jobs:
- name: Configure
run: ./configure
- name: Compile
run: make
run: make -j $(nproc)
- name: Distribution check
run: make distcheck

build-macos:
name: macOS
runs-on: macos-13
env:
HOMEBREW_NO_INSTALL_CLEANUP: 1
HOMEBREW_NO_AUTO_UPDATE: 1
HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK: 1

steps:
- uses: actions/checkout@v4
- name: Install dependencies
run: brew install automake libgcrypt
- name: Bootstrap
run: ./bootstrap
- name: Configure
run: ./configure
- name: Compile
run: make -j $(nproc)

0 comments on commit 598325a

Please sign in to comment.