aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/macos.yml
blob: cdddd25970256a1f640077e23783b13122c8258a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
name: macos

on:
  push:
  pull_request:
  workflow_dispatch:

jobs:
  build:
    runs-on: macos-15
    steps:

    - uses: actions/setup-go@v5
      with:
        go-version: 'stable'

    - name: Install macports
      run: |
        wget --no-verbose https://github.com/macports/macports-base/releases/download/v2.11.4/MacPorts-2.11.4-15-Sequoia.pkg
        sudo installer -pkg MacPorts*.pkg -target /
        rm MacPorts*.pkg

    - name: Install macfuse
      run: |
        sudo /opt/local/bin/port install macfuse +fs_link

    - uses: actions/checkout@v4
      with:
        fetch-depth: 0 # Make "git describe" work

    - name: test
      run: |
        ./test-without-openssl.bash -v