[Snyk] Security upgrade debian from 11.6-slim to 11.10-slim #310
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: mingw 64 | |
on: | |
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: | |
windows: | |
runs-on: windows-latest | |
env: | |
CCACHE_TEMPDIR: C:\Users\runneradmin\.ccache-temp | |
CCACHE_DIR: C:\Users\runneradmin\.ccache | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- uses: actions/checkout@v1 | |
with: | |
submodules: recursive | |
- uses: actions/cache@v2 | |
with: | |
path: C:\Users\runneradmin\.ccache | |
key: ccache-${{ runner.os }}-build-${{ github.sha }} | |
restore-keys: ccache-${{ runner.os }}-build- | |
- uses: eine/setup-msys2@v2 | |
with: | |
update: true | |
install: mingw-w64-x86_64-toolchain make mingw-w64-x86_64-cmake mingw-w64-x86_64-ccache mingw-w64-x86_64-openssl mingw-w64-x86_64-zeromq mingw-w64-x86_64-libsodium mingw-w64-x86_64-hidapi mingw-w64-x86_64-protobuf-c mingw-w64-x86_64-libusb mingw-w64-x86_64-unbound mingw-w64-x86_64-winpthreads-git mingw-w64-x86_64-libwinpthread-git git | |
- name: build | |
run: | | |
${{env.CCACHE_SETTINGS}} | |
make release-static-win64-boost | |
make release-static-win64 -j2 | |
- run: LETHEAN_RELEASE=lethean-cli-windows make zip-release | |
- uses: actions/upload-artifact@v2 | |
with: | |
name: windows.tar | |
path: ${{ github.workspace }}\build\lethean-cli-windows.tar | |
- name: Get the version | |
id: get_version | |
if: startsWith(github.ref, 'refs/tags/') | |
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//} | |
- name: Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: ${{ github.workspace }}\build\lethean-cli-windows.tar | |