Skip to content

Commit

Permalink
DRAFT 226 - Test fix of Github workflow and fix for Mingw-gcc/x64
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmai committed Nov 8, 2023
1 parent 3b5a385 commit 5f69e52
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 749 deletions.
63 changes: 0 additions & 63 deletions .appveyor.yml

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ 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 ]
Expand All @@ -22,22 +22,15 @@ jobs:
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
include:
- os: windows-latest
target_arch: ppc64le
- os: windows-latest
target_arch: riscv64
c_compiler: clang
cmake_generator_opt: '-G "Unix Makefiles"'
- os: windows-latest
target_arch: s390x
c_compiler: gcc
cmake_generator_opt: '-G "Unix Makefiles"'

steps:
- uses: actions/checkout@v4
Expand All @@ -53,16 +46,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 5f69e52

Please sign in to comment.