summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAlasdair Armstrong2019-12-11 18:40:26 +0000
committerGitHub2019-12-11 18:40:26 +0000
commit7d23751f48f60404643f35389b5ca4c25c08695b (patch)
tree383ec6336de28cf6a31c38c905874af22ea278ea /.github
parentb48403b1b91ac355e50e7ede8164c3045b440dc4 (diff)
parent0c3ae8f4beea29f524247eea27884b07e0ec238e (diff)
Merge pull request #58 from Alasdair/sail2
Add github actions to build on macOS and ubuntu
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/macOS_build.yml16
-rw-r--r--.github/workflows/ubuntu_build.yml16
2 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/macOS_build.yml b/.github/workflows/macOS_build.yml
new file mode 100644
index 00000000..ebc97a63
--- /dev/null
+++ b/.github/workflows/macOS_build.yml
@@ -0,0 +1,16 @@
+name: CI macOS-latest
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: macOS-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Build on macOS
+ run: |
+ brew install gpatch gmp z3 pkg-config
+ brew install opam
+ etc/ci_opam_build.sh
diff --git a/.github/workflows/ubuntu_build.yml b/.github/workflows/ubuntu_build.yml
new file mode 100644
index 00000000..bf517113
--- /dev/null
+++ b/.github/workflows/ubuntu_build.yml
@@ -0,0 +1,16 @@
+name: CI ubuntu-latest
+
+on: [push]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Build on ubuntu
+ run: |
+ sudo apt install build-essential libgmp-dev z3
+ sudo apt install opam
+ etc/ci_opam_build.sh