Skip to content

Commit 2b84fbb

Browse files
author
Peter Kubov
committed
Try to fix win & mac tests
1 parent f7391ed commit 2b84fbb

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.github/workflows/macOS/run-tests.sh

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,18 @@ clang_dir = $PWD/clang
88
tests_root_dir = $PWD/retdec-regression-tests
99
; Path to the RetDec's installation directory.
1010
retdec_install_dir = $PWD/install
11+
12+
; 2019-09-05: On macOS, we have to skip tests that compile output C files
13+
; because newer Xcode versions no longer support compilation into 32b binaries:
14+
;
15+
; "The macOS 10.14 SDK no longer contains support for compiling 32-bit applications.
16+
; If developers need to compile for i386, Xcode 9.4 or earlier is required."
17+
;
18+
; We cannot compile into 64b binaries because of RetDec shortcomings
19+
; (https://github.com/avast/retdec/issues/213). So, we decided to skip tests that
20+
; compile output C files when running regression tests on macOS.
21+
skip_c_compilation_tests = 0
22+
1123
EOF
1224

1325
cd "$PWD/retdec-regression-tests-framework"

.github/workflows/retdec-ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,9 @@ jobs:
2323
strategy:
2424
matrix:
2525
sys:
26-
- { os: windows-latest, shell: 'msys2 {0}' }
2726
- { os: ubuntu-latest, shell: bash }
28-
- { os: macos-latest, shell: bash }
27+
- { os: windows-latest, shell: 'msys2 {0}' }
28+
- { os: macos-11, shell: bash }
2929
type: [Release, Debug]
3030

3131
# Let other builds finish.

0 commit comments

Comments
 (0)