2727 runs-on : macos-11
2828 steps :
2929 - uses : actions/checkout@v3
30-
30+ - name : install gcc 12.2
31+ run : |
32+ gcc --version
33+ brew search gcc
34+ brew install gcc@12
35+ gcc --version
36+
3137 - name : Create Build Environment
3238 # Some projects don't allow in-source building, so create a separate build directory
3339 # We'll use this as our working directory for all subsequent commands
@@ -39,35 +45,35 @@ jobs:
3945 with :
4046 version : 1.59.0
4147
42- - name : Setup Conan Cache
43- uses : actions/cache@v3
44- with :
45- path : ${{github.workspace}}/build/conan_home/
46- key : conan-${{ runner.os }}-${{ hashFiles('conanfile.txt', '*/conanfile.txt') }}
47- restore-keys : conan-${{ runner.os }}-
48-
49- - name : Configure CMake
50- # Use a bash shell so we can use the same syntax for environment variable
51- # access regardless of the host operating system
52- shell : bash
53- working-directory : ${{github.workspace}}/build
54- # Note the current convention is to use the -S and -B options here to specify source
55- # and build directories, but this is only available with CMake 3.13 and higher.
56- # The CMake binaries on the Github Actions machines are (as of this writing) 3.12
57- run : PKG_CONFIG_PATH=${{github.workspace}}/local/lib/pkgconfig cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
58-
59- - name : Build
60- working-directory : ${{github.workspace}}/build
61- shell : bash
62- # Execute the build. You can specify a specific target with "--target <NAME>"
63- run : cmake --build . --config $BUILD_TYPE -- -j 2
64-
65- - name : Test
66- working-directory : ${{github.workspace}}/build
67- shell : bash
68- # Execute tests defined by the CMake configuration.
69- # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
70- run : ctest -C $BUILD_TYPE
48+ # - name: Setup Conan Cache
49+ # uses: actions/cache@v3
50+ # with:
51+ # path: ${{github.workspace}}/build/conan_home/
52+ # key: conan-${{ runner.os }}-${{ hashFiles('conanfile.txt', '*/conanfile.txt') }}
53+ # restore-keys: conan-${{ runner.os }}-
54+
55+ # - name: Configure CMake
56+ # # Use a bash shell so we can use the same syntax for environment variable
57+ # # access regardless of the host operating system
58+ # shell: bash
59+ # working-directory: ${{github.workspace}}/build
60+ # # Note the current convention is to use the -S and -B options here to specify source
61+ # # and build directories, but this is only available with CMake 3.13 and higher.
62+ # # The CMake binaries on the Github Actions machines are (as of this writing) 3.12
63+ # run: PKG_CONFIG_PATH=${{github.workspace}}/local/lib/pkgconfig cmake $GITHUB_WORKSPACE -DCMAKE_BUILD_TYPE=$BUILD_TYPE
64+
65+ # - name: Build
66+ # working-directory: ${{github.workspace}}/build
67+ # shell: bash
68+ # # Execute the build. You can specify a specific target with "--target <NAME>"
69+ # run: cmake --build . --config $BUILD_TYPE -- -j 2
70+
71+ # - name: Test
72+ # working-directory: ${{github.workspace}}/build
73+ # shell: bash
74+ # # Execute tests defined by the CMake configuration.
75+ # # See https://cmake.org/cmake/help/latest/manual/ctest.1.html for more detail
76+ # run: ctest -C $BUILD_TYPE
7177
7278 unit-tests-linux :
7379 # The CMake configure and build commands are platform agnostic and should work equally
0 commit comments