summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCody P Schafer <dev@codyps.com>2021-10-22 10:58:18 -0400
committerCody P Schafer <dev@codyps.com>2021-10-22 10:58:45 -0400
commit1df8f9b8cd239a35e0271dccadfadf3020c1f9df (patch)
treed68d70da3670ec7d345ede8fbb05503cf095d78f
parentf62089d6d9422c177578c004dc863e596e6a3465 (diff)
downloadrust-libzfs-1df8f9b8cd239a35e0271dccadfadf3020c1f9df.zip
gha/mac: reduce builds, update to macos-11, update openzfs to 2.1.0, check md5
-rw-r--r--.github/workflows/mac.yml16
1 files changed, 10 insertions, 6 deletions
diff --git a/.github/workflows/mac.yml b/.github/workflows/mac.yml
index d6a2fa7..814377d 100644
--- a/.github/workflows/mac.yml
+++ b/.github/workflows/mac.yml
@@ -6,14 +6,11 @@ on:
name: mac
jobs:
mac:
- runs-on: macos-10.15
+ runs-on: macos-11
strategy:
matrix:
rust:
- - stable
- beta
- - nightly
- - 1.48.0
steps:
- uses: actions/checkout@v2
@@ -26,8 +23,15 @@ jobs:
- name: Cache Rust dependencies
uses: Swatinem/rust-cache@v1
- - name: Download openzfs-on-osx
- run: curl -o zfs.pkg https://openzfsonosx.org/forum/download/file.php?id=309&sid=f486243ccdc8e8e13894f14ce0b28d93
+ # MD5 (OpenZFSonOsX-2.1.0-Big.Sur-11.pkg) = 80bee1c01362372ea3a803fdac56bfaa
+ - name: Download OpenZFSonOsX-2.1.0-Big.Sur-11.pkg
+ run: curl -o zfs.pkg https://openzfsonosx.org/forum/download/file.php?id=343&sid=4b2c0ab13fa308c9b91ea188ba907d02
+
+ - name: Check openzfs-on-osx
+ run: |
+ echo "80bee1c01362372ea3a803fdac56bfaa zfs.pkg" >md5.sum
+ md5sum -c md5.sum || { md5sum zfs.pkg; exit 1; }
+ rm md5.sum
- name: Install openzfs-on-osx
run: sudo installer -verbose -pkg zfs.pkg -target /