Remove unnecessary unused flag #162
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: mac_os_latest | |
on: [push] | |
env: | |
BUILD_TYPE: Release | |
jobs: | |
build: | |
name: ${{ matrix.config.name }} | |
runs-on: ${{ matrix.config.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
config: | |
- { | |
name: "macOS Latest Clang", | |
os: macos-latest, | |
artifact: "macos_clang.7z", | |
build_type: "Release", | |
cc: "clang", | |
cxx: "clang++", | |
archiver: "7za a", | |
generators: "Ninja" | |
} | |
steps: | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Checkout Repository and Submodules | |
uses: actions/checkout@v3 | |
with: | |
submodules: recursive | |
- name: Create Build Environment | |
run: cmake -E make_directory ${{runner.workspace}}/build | |
- name: Configure CMake | |
working-directory: ${{runner.workspace}}/build | |
run: cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE -DPIL_ALL=1 -DPIL_UNIT_TESTING=1 -DPIL_BUILD_BUNDLE=1 | |
- name: Build Project | |
working-directory: ${{runner.workspace}}/build | |
shell: bash | |
run: cmake --build . --config ${{ matrix.config.build_type }} --target all | |
- name: Run UnitTests | |
working-directory: ${{runner.workspace}}/build | |
run: GTEST_OUTPUT=xml:test-results/ GTEST_COLOR=1 ctest -V | |
- name: Generate Bundle | |
working-directory: ${{runner.workspace}}/build | |
shell: bash | |
run: cpack -D CPACK_INCLUDE_TOPLEVEL_DIRECTORY=0 -G Bundle | |
- name: Upload Artifacts | |
uses: actions/upload-artifact@v3 | |
with: | |
name: common_tools_lib_mac_os_x64.zip | |
path: | | |
${{ runner.workspace }}/build/*.dylib | |
${{ runner.workspace }}/build/*.a | |
${{ runner.workspace }}/build/SOCKET_UNIT_TEST | |
${{runner.workspace}}/build/test-results/**/*.xml | |
- name: Upload MAC Bundle | |
uses: actions/upload-artifact@v3 | |
with: | |
name: common_tools_lib-1.0.0-Darwin.dmg | |
path: ${{ runner.workspace }}/build/*.dmg | |