Skip to content

[Snyk] Security upgrade debian from bullseye-20240110-slim to 11.10-slim #309

[Snyk] Security upgrade debian from bullseye-20240110-slim to 11.10-slim

[Snyk] Security upgrade debian from bullseye-20240110-slim to 11.10-slim #309

Workflow file for this run

name: macOS
on:
workflow_dispatch:
push:
branches:
- 'main'
- 'dev'
- 'v*'
tags:
- 'v*'
paths-ignore:
- '**.md'
pull_request:
branches:
- 'main'
- 'dev'
- 'v*'
paths-ignore:
- '**.md'
env:
REMOVE_BUNDLED_BOOST : rm -rf /usr/local/share/boost
CCACHE_SETTINGS: |
ccache --max-size=150M
ccache --set-config=compression=true
jobs:
macos:
runs-on: macos-latest
env:
HOMEBREW_MAKE_JOBS: 2
HOMEBREW_NO_AUTO_UPDATE: 1
CCACHE_TEMPDIR: /tmp/.ccache-temp
steps:
- uses: actions/checkout@v1
with:
submodules: recursive
- uses: actions/cache@v2
with:
path: /Users/runner/Library/Caches/ccache
key: ccache-${{ runner.os }}-build-${{ github.sha }}
restore-keys: ccache-${{ runner.os }}-build-
- name: install dependencies
run: |
brew install hidapi openssl zmq libpgm miniupnpc ldns expat libunwind-headers protobuf ccache
brew install mitchellh/gon/gon
brew install --build-from-source ./utils/homebrew/[email protected]
- name: build
run: |
${{env.CCACHE_SETTINGS}}
make release-static-mac-x86_64 -j${HOMEBREW_MAKE_JOBS}
- run: LETHEAN_RELEASE=lethean-cli-macos make zip-release
- run: chmod +x build/packaged/lethean*
- uses: actions/upload-artifact@v2
with:
name: lethean-cli-macos
path: |
${{ github.workspace }}/build/lethean-cli-macos.tar
- name: Release
uses: softprops/action-gh-release@v1
if: startsWith(github.ref, 'refs/tags/')
with:
files: |
${{ github.workspace }}/build/lethean-cli-macos.tar