[PATCH] add GitHub Actions CI for macOS

22 views
Skip to first unread message

Qian Yun

unread,
Feb 24, 2021, 5:16:50 AM2/24/21
to fricas...@googlegroups.com
I closed 2 GitHub issues of building FriCAS on macOS,
and I found it will be useful to have CI on macOS as well.

In the future, I'd like to add support for downloading
binaries from CI.

With no objection, I'll commit this file soon.

- Qian

https://github.com/oldk1331/fricas/commit/89d84b01eaae315a97d9e1eccc8be32768da1125.patch

From 89d84b01eaae315a97d9e1eccc8be32768da1125 Mon Sep 17 00:00:00 2001
From: Qian Yun <oldk...@gmail.com>
Date: Tue, 23 Feb 2021 19:28:42 +0800
Subject: [PATCH] add GitHub Actions CI for macOS

---
.github/workflows/macOS.yml | 19 +++++++++++++++++++
1 file changed, 19 insertions(+)
create mode 100644 .github/workflows/macOS.yml

diff --git a/.github/workflows/macOS.yml b/.github/workflows/macOS.yml
new file mode 100644
index 000000000..b91cd6177
--- /dev/null
+++ b/.github/workflows/macOS.yml
@@ -0,0 +1,19 @@
+name: FriCAS CI on macOS
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: macos-10.15
+
+ steps:
+ - uses: actions/checkout@v2
+ - name: install dependencies
+ run: brew install sbcl
+ - name: configure
+ run: mkdir ../build && cd ../build && ../fricas/configure
--with-lisp=sbcl
+ - name: make
+ run: cd ../build && make -j2
+ - name: make check
+ run: cd ../build && make check -j2
Reply all
Reply to author
Forward
0 new messages