From a5f3cd6f40f4123131d2ff360377c560a9e64a7f Mon Sep 17 00:00:00 2001 From: Steven Phillips Date: Tue, 30 Jul 2024 11:22:10 +0100 Subject: [PATCH] Add build-macos.yml --- .github/workflows/build-macos.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/build-macos.yml diff --git a/.github/workflows/build-macos.yml b/.github/workflows/build-macos.yml new file mode 100644 index 00000000..def35b87 --- /dev/null +++ b/.github/workflows/build-macos.yml @@ -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 +