mirror of
https://github.com/rclone/rclone.git
synced 2024-12-22 23:22:08 +01:00
build: upgrade actions runner macos-11 to fix macOS build problems #5951
This commit is contained in:
parent
4bd2386632
commit
b447b0cd78
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
@ -40,7 +40,7 @@ jobs:
|
|||||||
deploy: true
|
deploy: true
|
||||||
|
|
||||||
- job_name: mac_amd64
|
- job_name: mac_amd64
|
||||||
os: macOS-latest
|
os: macos-11
|
||||||
go: '1.17.x'
|
go: '1.17.x'
|
||||||
gotags: 'cmount'
|
gotags: 'cmount'
|
||||||
build_flags: '-include "^darwin/amd64" -cgo'
|
build_flags: '-include "^darwin/amd64" -cgo'
|
||||||
@ -49,7 +49,7 @@ jobs:
|
|||||||
deploy: true
|
deploy: true
|
||||||
|
|
||||||
- job_name: mac_arm64
|
- job_name: mac_arm64
|
||||||
os: macOS-latest
|
os: macos-11
|
||||||
go: '1.17.x'
|
go: '1.17.x'
|
||||||
gotags: 'cmount'
|
gotags: 'cmount'
|
||||||
build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
|
build_flags: '-include "^darwin/arm64" -cgo -macos-arch arm64 -cgo-cflags=-I/usr/local/include -cgo-ldflags=-L/usr/local/lib'
|
||||||
@ -134,7 +134,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
brew update
|
brew update
|
||||||
brew install --cask macfuse
|
brew install --cask macfuse
|
||||||
if: matrix.os == 'macOS-latest'
|
if: matrix.os == 'macos-11'
|
||||||
|
|
||||||
- name: Install Libraries on Windows
|
- name: Install Libraries on Windows
|
||||||
shell: powershell
|
shell: powershell
|
||||||
|
Loading…
Reference in New Issue
Block a user