3
# Controls when the action will run.
5
# Triggers the workflow on push or pull request events but only for the master branch
11
# Allows you to run this workflow manually from the Actions tab
14
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
16
# This workflow contains a single job called "build"
18
# The type of runner that the job will run on
21
# Steps represent a sequence of tasks that will be executed as part of the job
23
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
24
- uses: actions/checkout@v2
26
# Runs a single command using the runners shell
27
- name: Install Packages
29
brew install flex bison #gcc-9 git cmake
32
uses: lukka/run-cmake@v2.5
34
cmakeListsOrSettingsJson: CMakeListsTxtAdvanced
37
-DVERIFYPN_MC_Simplification=OFF
38
-DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison
39
-DFLEX_EXECUTABLE=/usr/local/opt/flex/bin/flex
40
cmakeBuildType: Release
41
cmakeGenerator: UnixMakefiles
42
buildDirectory: '${{runner.workspace}}/build'
47
- name: Upload artifacts
48
uses: actions/upload-artifact@v2
50
name: verifydtapn-osx64
51
path: '${{runner.workspace}}/build/bin/verifypn-osx64'