Skip to content

Update Agent.cpp

Update Agent.cpp #497

Workflow file for this run

name: OSX
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
env:
BUILD_TYPE: MinSizeRel
CPM_SOURCE_CACHE: ${{ github.workspace }}/cpm_modules
jobs:
osx-native:
runs-on: macos-latest
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: cache
uses: actions/cache@v2
with:
path: "**/cpm_modules"
key: ${{ github.workflow }}-cpm-modules-${{ hashFiles('**/CMakeLists.txt', '**/*.cmake') }}
- uses: actions/setup-python@v4
with:
python-version: '3.10'
- name: install dependencies
run: |
pip install jsonschema jinja2
- name: Configure CMake
run: cmake -Bbuild -H. -DCMAKE_BUILD_TYPE=MinSizeRel
- name: Build
run: cmake --build build/ --parallel
- name: Release
uses: fnkr/[email protected]
if: startsWith(github.ref, 'refs/tags/')
env:
GHR_COMPRESS: zip
GHR_PATH: build/
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}