Skip to content

Commit

Permalink
DRAFT 225 - Test fix of Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Nov 8, 2023
1 parent 3b5a385 commit e3dae8e
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 745 deletions.
63 changes: 0 additions & 63 deletions .appveyor.yml

This file was deleted.

25 changes: 10 additions & 15 deletions .github/workflows/cmake-multi-platform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,31 +13,23 @@ jobs:
fail-fast: false

matrix:
target_arch: [ aarch64, amd64, armv7, ppc64le, riscv64, s390x ]
target_arch: [ amd64 ]
os: [ macos-latest, ubuntu-latest, windows-latest ]
c_compiler: [ cl, clang, gcc ]
build_type: [ Release ]
include:
- os: windows-latest
c_compiler: clang
cmake_generator_opt: '-G "Unix Makefiles"'
exclude:
- os: macos-latest
c_compiler: cl
- os: macos-latest
c_compiler: gcc
- os: macos-latest
target_arch: armv7
- os: macos-latest
target_arch: ppc64le
- os: macos-latest
target_arch: riscv64
- os: macos-latest
target_arch: s390x
- os: ubuntu-latest
c_compiler: cl
- os: windows-latest
target_arch: ppc64le
- os: windows-latest
target_arch: riscv64
- os: windows-latest
target_arch: s390x
c_compiler: gcc

steps:
- uses: actions/checkout@v4
Expand All @@ -53,16 +45,19 @@ jobs:
# Configure CMake in a 'build' subdirectory.
run: >
cmake -B ${{ steps.strings.outputs.build-output-dir }}
${{ matrix.cmake_generator_opt }}
-DCMAKE_C_COMPILER=${{ matrix.c_compiler }}
-DCMAKE_BUILD_TYPE=${{ matrix.build_type }}
-Dbuild_tests=ON
-Denable_werror=ON
-Werror=dev
-S ${{ github.workspace }}
- name: Build
# Build the code with the given configuration.
run: >
cmake --build ${{ steps.strings.outputs.build-output-dir }}
--config ${{ matrix.build_type }}
--config ${{ matrix.build_type }} --verbose
- name: Test
working-directory: ${{ steps.strings.outputs.build-output-dir }}
Expand Down
Loading

0 comments on commit e3dae8e

Please sign in to comment.