Skip to content
Snippets Groups Projects
Commit ebd87543 authored by Alexander V. Tikhonov's avatar Alexander V. Tikhonov Committed by Igor Munkin
Browse files

github-ci: refactor OSX jobs parameters

To avoid targets duplication in the later use of .travis.mk file, it was
decided to parameterize OSX jobs and move all fine tuning manipulations
related to these pipelines from .travis.mk to the corresponding GitHub
Actions workflows.
parent bef585aa
No related branches found
No related tags found
No related merge requests found
...@@ -30,6 +30,9 @@ jobs: ...@@ -30,6 +30,9 @@ jobs:
submodules: recursive submodules: recursive
- uses: ./.github/actions/environment - uses: ./.github/actions/environment
- name: test - name: test
env:
CMAKE_BUILD_TYPE: RelWithDebInfo
CMAKE_EXTRA_PARAMS: -DENABLE_WERROR=ON
run: ${CI_MAKE} test_osx_github_actions run: ${CI_MAKE} test_osx_github_actions
- name: call action to send Telegram message on failure - name: call action to send Telegram message on failure
env: env:
......
...@@ -31,7 +31,8 @@ jobs: ...@@ -31,7 +31,8 @@ jobs:
- uses: ./.github/actions/environment - uses: ./.github/actions/environment
- name: test - name: test
env: env:
CMAKE_EXTRA_PARAMS: -DENABLE_LTO=ON CMAKE_BUILD_TYPE: RelWithDebInfo
CMAKE_EXTRA_PARAMS: -DENABLE_WERROR=ON -DENABLE_LTO=ON
run: ${CI_MAKE} test_osx_github_actions run: ${CI_MAKE} test_osx_github_actions
- name: call action to send Telegram message on failure - name: call action to send Telegram message on failure
env: env:
......
...@@ -30,6 +30,9 @@ jobs: ...@@ -30,6 +30,9 @@ jobs:
submodules: recursive submodules: recursive
- uses: ./.github/actions/environment - uses: ./.github/actions/environment
- name: test - name: test
env:
CMAKE_BUILD_TYPE: RelWithDebInfo
CMAKE_EXTRA_PARAMS: -DENABLE_WERROR=ON
run: ${CI_MAKE} test_osx_github_actions run: ${CI_MAKE} test_osx_github_actions
- name: call action to send Telegram message on failure - name: call action to send Telegram message on failure
env: env:
......
...@@ -346,7 +346,7 @@ build_osx: ...@@ -346,7 +346,7 @@ build_osx:
# due swap disabling should be manualy configured need to # due swap disabling should be manualy configured need to
# control it's status # control it's status
sysctl vm.swapusage sysctl vm.swapusage
cmake . -DCMAKE_BUILD_TYPE=RelWithDebInfo -DENABLE_WERROR=ON ${CMAKE_EXTRA_PARAMS} cmake . -DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE} ${CMAKE_EXTRA_PARAMS}
make -j make -j
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment