ci: msys2
This commit is contained in:
parent
2c735b8dfb
commit
11fb356283
1
.github/workflows/android.yml
vendored
1
.github/workflows/android.yml
vendored
@ -4,6 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-android:
|
||||
if: false
|
||||
name: NDK-C++${{matrix.std}}-${{matrix.abi}}-${{matrix.build_type}}
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
|
||||
1
.github/workflows/cifuzz.yml
vendored
1
.github/workflows/cifuzz.yml
vendored
@ -2,6 +2,7 @@ name: CIFuzz
|
||||
on: [pull_request]
|
||||
jobs:
|
||||
Fuzzing:
|
||||
if: false
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Build Fuzzers
|
||||
|
||||
1
.github/workflows/emscripten.yml
vendored
1
.github/workflows/emscripten.yml
vendored
@ -4,6 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
if: false
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
1
.github/workflows/linux.yml
vendored
1
.github/workflows/linux.yml
vendored
@ -4,6 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-linux:
|
||||
if: false
|
||||
defaults:
|
||||
run:
|
||||
shell: bash
|
||||
|
||||
1
.github/workflows/macos.yml
vendored
1
.github/workflows/macos.yml
vendored
@ -4,6 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-macos:
|
||||
if: false
|
||||
name: AppleClang-C++${{matrix.std}}-${{matrix.build_type}}
|
||||
runs-on: macos-12
|
||||
permissions:
|
||||
|
||||
22
.github/workflows/windows.yml
vendored
22
.github/workflows/windows.yml
vendored
@ -4,6 +4,7 @@ on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
build-msvc:
|
||||
if: false
|
||||
name: ${{matrix.msvc}}-${{matrix.arch}}-C++${{matrix.std}}-${{matrix.build_type}}-${{matrix.lib}}
|
||||
runs-on: ${{matrix.os}}
|
||||
permissions:
|
||||
@ -157,11 +158,9 @@ jobs:
|
||||
build_type: [Debug]
|
||||
lib: [shared, static]
|
||||
std: [14, 17, 20, 23]
|
||||
sys: [mingw32, mingw64]
|
||||
sys: [msys]
|
||||
include:
|
||||
- sys: mingw32
|
||||
env: i686
|
||||
- sys: mingw64
|
||||
- sys: msys
|
||||
env: x86_64
|
||||
|
||||
steps:
|
||||
@ -173,6 +172,21 @@ jobs:
|
||||
languages: cpp
|
||||
|
||||
- uses: msys2/setup-msys2@v2
|
||||
if: ${{matrix.sys == 'msys'}}
|
||||
with:
|
||||
msystem: ${{matrix.sys}}
|
||||
install: >-
|
||||
cmake
|
||||
gcc
|
||||
gtest
|
||||
ninja
|
||||
python-jinja
|
||||
python-lxml
|
||||
python-pip
|
||||
python-pygments
|
||||
|
||||
- uses: msys2/setup-msys2@v2
|
||||
if: ${{matrix.sys != 'msys'}}
|
||||
with:
|
||||
msystem: ${{matrix.sys}}
|
||||
install: >-
|
||||
|
||||
@ -27,6 +27,8 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "base/commandlineflags.h"
|
||||
#include "glog/logging.h"
|
||||
#include "glog/raw_logging.h"
|
||||
|
||||
@ -27,6 +27,8 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "base/commandlineflags.h"
|
||||
#include "glog/logging.h"
|
||||
#include "glog/raw_logging.h"
|
||||
|
||||
@ -27,6 +27,8 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "base/commandlineflags.h"
|
||||
#include "glog/logging.h"
|
||||
#include "glog/raw_logging.h"
|
||||
|
||||
@ -31,6 +31,8 @@
|
||||
//
|
||||
// Unit tests for functions in demangle.c.
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "demangle.h"
|
||||
|
||||
#include <fstream>
|
||||
|
||||
@ -28,6 +28,7 @@
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#define _GNU_SOURCE 1 // needed for O_NOFOLLOW and pread()/pwrite()
|
||||
#define _POSIX_C_SOURCE 1
|
||||
|
||||
#include "glog/logging.h"
|
||||
|
||||
|
||||
@ -29,24 +29,15 @@
|
||||
//
|
||||
// Author: Ray Sidney
|
||||
|
||||
#include <fcntl.h>
|
||||
#define _POSIX_C_SOURCE 200112L
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "config.h"
|
||||
#include "utilities.h"
|
||||
#ifdef HAVE_GLOB_H
|
||||
# include <glob.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_WAIT_H
|
||||
# include <sys/wait.h>
|
||||
#endif
|
||||
#include <fcntl.h>
|
||||
|
||||
#include <chrono>
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
#include <cstring>
|
||||
#include <fstream>
|
||||
#include <iomanip>
|
||||
#include <iostream>
|
||||
@ -58,16 +49,29 @@
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
|
||||
#include "base/commandlineflags.h"
|
||||
#include "glog/logging.h"
|
||||
#include "glog/raw_logging.h"
|
||||
#include "googletest.h"
|
||||
#include "config.h"
|
||||
#ifdef HAVE_GLOB_H
|
||||
# include <glob.h>
|
||||
#endif
|
||||
#include <sys/stat.h>
|
||||
#ifdef HAVE_UNISTD_H
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
#ifdef HAVE_SYS_WAIT_H
|
||||
# include <sys/wait.h>
|
||||
#endif
|
||||
|
||||
#ifdef GLOG_USE_GFLAGS
|
||||
# include <gflags/gflags.h>
|
||||
using namespace GFLAGS_NAMESPACE;
|
||||
#endif
|
||||
|
||||
#include "base/commandlineflags.h"
|
||||
#include "glog/logging.h"
|
||||
#include "glog/raw_logging.h"
|
||||
#include "googletest.h"
|
||||
#include "utilities.h"
|
||||
|
||||
#ifdef HAVE_LIB_GMOCK
|
||||
# include <gmock/gmock.h>
|
||||
|
||||
|
||||
@ -31,6 +31,8 @@
|
||||
|
||||
// Tests the ScopedMockLog class.
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "mock-log.h"
|
||||
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
@ -31,6 +31,8 @@
|
||||
//
|
||||
// Implementation of InstallFailureSignalHandler().
|
||||
|
||||
#define _POSIX_C_SOURCE 199309L
|
||||
|
||||
#include <algorithm>
|
||||
#include <csignal>
|
||||
#include <ctime>
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
// Copyright (c) 2003, Google Inc.
|
||||
// Copyright (c) 2024, Google Inc.
|
||||
// All rights reserved.
|
||||
//
|
||||
// Redistribution and use in source and binary forms, with or without
|
||||
@ -27,6 +27,8 @@
|
||||
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "glog/stl_logging.h"
|
||||
|
||||
#include <functional>
|
||||
|
||||
@ -29,6 +29,8 @@
|
||||
//
|
||||
// Author: Shinichiro Hamaji
|
||||
|
||||
#define _POSIX_C_SOURCE 1
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
#include <atomic>
|
||||
|
||||
@ -28,6 +28,9 @@
|
||||
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
//
|
||||
// Author: Shinichiro Hamaji
|
||||
|
||||
#define _XOPEN_SOURCE 500
|
||||
|
||||
#include "utilities.h"
|
||||
|
||||
#include "glog/logging.h"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user