disable mac and mingw cross CI builds for now

apparently macos c++ stdlib is missing c++20 features (particularly
string_view doesn't seem to accept two pointers in a constructor)
and mingw is only present as gcc9 in ubuntu 20.04 (too old)
master
Daniel Kolesa 2021-04-12 03:56:59 +02:00
parent 8bdb68b298
commit 5e9aefb52a
3 changed files with 20 additions and 21 deletions

View File

@ -35,7 +35,8 @@ jobs:
- { target: mips-linux-gnu, cc: gcc-10, buildtype: debugoptimized } - { target: mips-linux-gnu, cc: gcc-10, buildtype: debugoptimized }
- { target: m68k-linux-gnu, cc: gcc-10, buildtype: debug } - { target: m68k-linux-gnu, cc: gcc-10, buildtype: debug }
# x86_64 windows cross, release mode # x86_64 windows cross, release mode
- { target: x86_64-w64-mingw32, cc: gcc-10, buildtype: release } # there is no gcc10 mingw64 crosscompiler yet and gcc9 is too old
#- { target: x86_64-w64-mingw32, cc: gcc-10, buildtype: release }
steps: steps:
- name: Checkout - name: Checkout
@ -53,9 +54,6 @@ jobs:
name: Windows name: Windows
runs-on: windows-2019 runs-on: windows-2019
env:
LUA_VERSIONS: '5.4.2 5.3.6 5.2.4 5.1.5'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2
@ -68,23 +66,22 @@ jobs:
- name: Build and test cubescript - name: Build and test cubescript
run: bash ./.ci/build-cs-windows run: bash ./.ci/build-cs-windows
mac: # mac:
name: MacOS # name: MacOS
runs-on: macos-10.15 # runs-on: macos-10.15
env: # env:
TARGET: 'darwin' # TARGET: 'darwin'
LUA_VERSIONS: '5.4.2 5.3.6 5.2.4 5.1.5' # CC: 'clang'
CC: 'clang'
steps: # steps:
- name: Checkout # - name: Checkout
uses: actions/checkout@v2 # uses: actions/checkout@v2
with: # with:
persist-credentials: false # persist-credentials: false
- name: Prepare environment # - name: Prepare environment
run: sh ./.ci/install-env # run: sh ./.ci/install-env
- name: Build and test cubescript # - name: Build and test cubescript
run: sh ./.ci/build-cs # run: sh ./.ci/build-cs

View File

@ -114,7 +114,8 @@ compilers include:
* Clang 11 * Clang 11
* Microsoft Visual C++ 2019 * Microsoft Visual C++ 2019
Older versions of GCC and Clang may work, with no guarantees. Older versions of Clang may work, with no guarantees (GCC 9 does not, though,
as it's missing features in libstdc++).
You will need [Meson](https://mesonbuild.com/) to build the project. Most You will need [Meson](https://mesonbuild.com/) to build the project. Most
Unix-like systems have it in their package management, on Windows there is Unix-like systems have it in their package management, on Windows there is

View File

@ -6,6 +6,7 @@
#include <cstddef> #include <cstddef>
#include <new> #include <new>
#include <utility> #include <utility>
#include <vector>
#include <type_traits> #include <type_traits>
#include <string_view> #include <string_view>