Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 18 additions & 18 deletions .github/workflows/abismal_build_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,24 +8,24 @@ on:
branches: [ "master" ]

jobs:
build-on-x86:
runs-on: macos-13
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Update Homebrew
run: brew update
- name: Install automake
run: brew install automake
- name: Install dependencies
run: brew install htslib
- name: Generate configure script
run: ./autogen.sh
- name: configure with g++-14
run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
- name: Build with g++-14
run: make -j4
# build-on-x86:
# runs-on: macos-13
# steps:
# - uses: actions/checkout@v4
# with:
# submodules: recursive
# - name: Update Homebrew
# run: brew update
# - name: Install automake
# run: brew install automake
# - name: Install dependencies
# run: brew install htslib
# - name: Generate configure script
# run: ./autogen.sh
# - name: configure with g++-14
# run: ./configure CXX="g++-14" CPPFLAGS="-I$(brew --prefix)/include" LDFLAGS="-L$(brew --prefix)/lib"
# - name: Build with g++-14
# run: make -j4
build-on-arm64:
runs-on: macos-15
steps:
Expand Down
12 changes: 12 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ configure_file(data/config.h.in config.h)

list(APPEND CMAKE_MODULE_PATH "${CMAKE_SOURCE_DIR}/cmake")

add_compile_options(
-Wall
-Wextra
-Wpedantic
-Werror
-Wfatal-errors
)

if(NOT PROJECT_IS_TOP_LEVEL)
set(STATIC_ANALYSIS OFF)
endif()

if(STATIC_ANALYSIS)
include(cmake/static_analysis.cmake)
endif()
Expand Down
2 changes: 2 additions & 0 deletions iwyu.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
[
{ "include": ["@[\"<]htslib/kstring.h[\">]", "private", "<htslib/sam.h>", "public"] },
{ "include": ["@[\"<]htslib/hts.h[\">]", "private", "<htslib/sam.h>", "public"] },
]
2 changes: 1 addition & 1 deletion src/bamxx
Submodule bamxx updated 2 files
+6 −0 .clang-format
+4 −0 CMakeLists.txt
2 changes: 1 addition & 1 deletion src/smithlab_cpp
Submodule smithlab_cpp updated 1 files
+4 −0 CMakeLists.txt