Skip to content

Commit

Permalink
Update binary-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
msoos authored Jan 13, 2024
1 parent c19c07a commit acf51f4
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion .github/workflows/binary-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ jobs:
pip install pip --upgrade
pip install numpy lit
- name: Configure CMake
- name: Configure CMake for linux
if: matrix.os == 'ubuntu-20.04'
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
#working-directory: ${{runner.workspace}}/build
Expand All @@ -54,6 +55,20 @@ jobs:
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTING=ON -DSTATICCOMPILE=${{ matrix.staticcompile }}

- name: Add git submodules for Linux only (not needed for non-testing)
if: matrix.os == 'ubuntu-20.04'
run: git submodule update --init

- name: Configure CMake for non-linux
if: matrix.os != 'ubuntu-20.04'
# Use a bash shell so we can use the same syntax for environment variable
# access regardless of the host operating system
#working-directory: ${{runner.workspace}}/build
# Note the current convention is to use the -S and -B options here to specify source
# and build directories, but this is only available with CMake 3.13 and higher.
# The CMake binaries on the Github Actions machines are (as of this writing) 3.12
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=${{ matrix.build_type }} -DENABLE_TESTING=OFF -DSTATICCOMPILE=${{ matrix.staticcompile }}

- name: Build
#working-directory: ${{runner.workspace}}/build
# Execute the build. You can specify a specific target with "--target <NAME>"
Expand Down

0 comments on commit acf51f4

Please sign in to comment.