Skip to content

Commit

Permalink
DRAFT 614 - test GH Actions on OS X
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Nov 15, 2023
1 parent f2630a4 commit f797027
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 995 deletions.
178 changes: 0 additions & 178 deletions .appveyor.yml

This file was deleted.

32 changes: 16 additions & 16 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:
fail-fast: false

matrix:
os: [ macos-latest, ubuntu-latest, windows-latest ]
os: [ macos-latest ] #, ubuntu-latest, windows-latest ]
c_compiler: [ cl, clang, gcc ]
cxx_compiler: [ cl, clang++, g++ ]
enable_cplusplus: [ off, on ]
build_type: [ Release ]
disable_gc_debug: [ off ]
gc_assertions: [ on ]
build_type: [ Release, Debug ]
disable_gc_debug: [ off, on ]
gc_assertions: [ off, on ]
large_config: [ on ]
enable_threads: [ off, on ]
enable_rwlock: [ off, on ]
Expand Down Expand Up @@ -62,16 +62,16 @@ jobs:
- os: windows-latest # TODO: support dependency on libatomic_ops
c_compiler: cl
enable_threads: on
- os: macos-latest # FIXME: KERN_PROTECTION_FAILURE while world stopped
enable_threads: on
redirect_malloc: off
include:
- os: windows-latest
c_compiler: gcc
cmake_generator_opt: '-G "Unix Makefiles"'
- os: windows-latest
c_compiler: clang
cmake_generator_opt: '-G "Unix Makefiles"'
#- os: macos-latest # FIXME: KERN_PROTECTION_FAILURE while world stopped
# enable_threads: on
# redirect_malloc: off
#include:
#- os: windows-latest
# c_compiler: gcc
# cmake_generator_opt: '-G "Unix Makefiles"'
#- os: windows-latest
# c_compiler: clang
# cmake_generator_opt: '-G "Unix Makefiles"'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -108,9 +108,9 @@ jobs:
# Build the code with the given configuration.
run: >
cmake --build ${{ steps.strings.outputs.build-output-dir }}
--config ${{ matrix.build_type }} --verbose
--config ${{ matrix.build_type }} --verbose --parallel
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
# Execute tests defined by the CMake configuration.
run: ctest --build-config ${{ matrix.build_type }} --verbose
run: ctest --build-config ${{ matrix.build_type }} --verbose --parallel 8
Loading

0 comments on commit f797027

Please sign in to comment.