Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sjrdc/fix ci #1

Merged
merged 12 commits into from
Dec 9, 2024
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
78 changes: 39 additions & 39 deletions .github/workflows/ci-macos.yml
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
# name: cereal mac ci
# on: [push, pull_request]
name: cereal mac ci
on: [push, pull_request]

# jobs:
# test_cereal_macos:
# runs-on: macos-latest
# strategy:
# fail-fast: false
# matrix:
# include:
# - CMAKE_OPTIONS: '-DWITH_WERROR=OFF -DSKIP_PORTABILITY_TEST=ON -DSKIP_PERFORMANCE_COMPARISON=ON'
# COMPILER: 'clang++'
# XCODE_VERSION: 11
# NAME: macos-latest-clang-xcode11
jobs:
test_cereal_macos:
runs-on: macos-latest
strategy:
fail-fast: false
matrix:
include:
- CMAKE_OPTIONS: '-DWITH_WERROR=OFF -DSKIP_PORTABILITY_TEST=ON -DSKIP_PERFORMANCE_COMPARISON=ON'
COMPILER: 'clang++'
XCODE_VERSION: 11
NAME: macos-latest-clang-xcode11

# - CMAKE_OPTIONS: '-DWITH_WERROR=OFF -DSKIP_PORTABILITY_TEST=ON -DSKIP_PERFORMANCE_COMPARISON=ON'
# COMPILER: 'clang++'
# XCODE_VERSION: 12
# NAME: macos-latest-clang-xcode12
# name: ${{ matrix.name }}
- CMAKE_OPTIONS: '-DWITH_WERROR=OFF -DSKIP_PORTABILITY_TEST=ON -DSKIP_PERFORMANCE_COMPARISON=ON'
COMPILER: 'clang++'
XCODE_VERSION: 12
NAME: macos-latest-clang-xcode12
name: ${{ matrix.name }}

# steps:
# - name: Checkout code
# uses: actions/checkout@v4
steps:
- name: Checkout code
uses: actions/checkout@v4

# - uses: maxim-lobanov/setup-xcode@v1
# with:
# xcode-version: ${{ matrix.XCODE_VERSION }}
- uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: ${{ matrix.XCODE_VERSION }}

# - name: build and test
# shell: bash
# env:
# CMAKE_OPTIONS: ${{ matrix.CMAKE_OPTIONS }}
# COMPILER: ${{ matrix.COMPILER }}
# run: |
# set -ex
# # Set compiler and env variables
# export CXX=${COMPILER}
# ${CXX} --version
- name: build and test
shell: bash
env:
CMAKE_OPTIONS: ${{ matrix.CMAKE_OPTIONS }}
COMPILER: ${{ matrix.COMPILER }}
run: |
set -ex
# Set compiler and env variables
export CXX=${COMPILER}
${CXX} --version

# # Build cereal and test
# cmake --version
# mkdir build && cd build
# cmake ${CMAKE_OPTIONS} .. && make -j4 VERBOSE=1
# ctest . --output-on-failure
# Build cereal and test
cmake --version
mkdir build && cd build
cmake ${CMAKE_OPTIONS} .. && make -j4 VERBOSE=1
ctest . --output-on-failure
Loading
Loading