Skip to content

Commit

Permalink
DRAFT 597 - test GH Actions with some fixes
Browse files Browse the repository at this point in the history
* Fix 'unused GC_set_and_save_fault_handler' warning on OS X
* Always declare GC_set_and_save_fault_handler before its definition
* Fix undefined GC_real_pthread_sigmask if redirect malloc on OS X
* Move GC_unblock_gc_signals to pthread_stop_world.c
* Fix 'implicit declaration of pthread_setname_np' gcc error on MinGW
* Fix for getenv warnings on Win32 (draft)
* Fix for malloc redirection on Win32 (draft)
  • Loading branch information
ivmai committed Nov 11, 2023
1 parent 57be926 commit 110331e
Show file tree
Hide file tree
Showing 10 changed files with 70 additions and 1,042 deletions.
178 changes: 0 additions & 178 deletions .appveyor.yml

This file was deleted.

30 changes: 13 additions & 17 deletions .github/workflows/cmake-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
os: [ macos-latest, ubuntu-latest, windows-latest ]
c_compiler: [ cl, clang, gcc ]
build_type: [ Release ]
disable_gc_debug: [ off ]
disable_gc_debug: [ on ] # off
gc_assertions: [ off ]
large_config: [ off ]
enable_threads: [ off, on ]
Expand All @@ -25,33 +25,27 @@ jobs:
exclude:
- os: macos-latest
c_compiler: cl
- enable_threads: on
redirect_malloc: on
- os: macos-latest
c_compiler: gcc
- os: ubuntu-latest
c_compiler: cl
- os: windows-latest # TODO: support dependency on libatomic_ops
c_compiler: cl
enable_threads: on
- os: windows-latest # TODO: enable following
c_compiler: clang
- os: macos-latest
c_compiler: clang
enable_threads: on
redirect_malloc: on
- os: windows-latest
c_compiler: cl
enable_threads: off
redirect_malloc: on
- os: windows-latest
c_compiler: gcc
enable_threads: on
#- os: windows-latest
# c_compiler: clang
#- os: windows-latest
# c_compiler: gcc
# enable_threads: on
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: windows-latest
c_compiler: clang
cmake_generator_opt: '-G "Unix Makefiles"'

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -80,6 +74,8 @@ jobs:
-Denable_werror=ON
-Werror=dev
-S ${{ github.workspace }}
# -DCMAKE_CXX_COMPILER=${{ matrix.cxx_compiler }}
# -Denable_cplusplus=ON

- name: Build
# Build the code with the given configuration.
Expand Down
Loading

0 comments on commit 110331e

Please sign in to comment.