Skip to content

Commit

Permalink
Add build-macos.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
bjasspa committed Jul 30, 2024
1 parent e00c2e9 commit a5f3cd6
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/build-macos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Build macOS (macos-latest)

on:
workflow_dispatch:
branches: [ master ]

jobs:
build:
runs-on: macos-latest
name: Build on ${{ matrix.distro }} ${{ matrix.arch }}

steps:
- name: Install dependencies
run: |
brew install xquartz
brew install make
- name: Checkout code
uses: actions/checkout@v4

- name: Compile macos mec
run: |
export PATH=/usr/local/opt/make/libexec/gnubin/:$PATH
cd ./microemacs/src
./build.sh -t c
- name: Compile macos mew
run: |
export PATH=/usr/local/opt/make/libexec/gnubin/:$PATH
cd ./microemacs/src
./build.sh -t w

0 comments on commit a5f3cd6

Please sign in to comment.