Add gcc-12 testing for aarch64 linux
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 1edfd48..128ef98 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -96,6 +96,11 @@ jobs:
CFARM_CXX: "g++"
- CFARM_HOST: gcc117.fsffrance.org
CFARM_PORT: 22
+ CFARM_TRIPLE: aarch64-linux-gnu
+ CFARM_CC: "/home/green/gcc12/bin/gcc"
+ CFARM_CXX: "/home/green/gcc12/bin/g++"
+ - CFARM_HOST: gcc117.fsffrance.org
+ CFARM_PORT: 22
CFARM_TRIPLE: aarch64-lto-linux-gnu
CFARM_CC: "gcc -flto"
CFARM_CXX: "g++ -flto"
@@ -299,6 +304,59 @@ jobs:
--policy=https://github.com/libffi/rlgl-policy.git $(find . -name libffi.log)
shell: msys2 {0}
+ build-msys2-clang:
+
+ runs-on: windows-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ include:
+ - MSYSTEM: MINGW32
+ MSYS2_ARCH: i686
+ - MSYSTEM: MINGW64
+ MSYS2_ARCH: x86_64
+ name: ${{ matrix.MSYSTEM }}
+
+ steps:
+ - run: git config --global core.autocrlf input
+ - uses: actions/checkout@v2
+
+ - uses: msys2/setup-msys2@v2
+ with:
+ msystem: ${{ matrix.MSYSTEM }}
+ update: true
+ install: >-
+ base-devel
+ autoconf-wrapper
+ autoconf
+ automake
+ libtool
+ make
+ dejagnu
+ clang
+ mingw-w64-${{ matrix.MSYS2_ARCH }}-gcc
+ mingw-w64-${{ matrix.MSYS2_ARCH }}-gcc-libs
+ unzip
+
+ - run: |
+ set -x
+ cd $(cygpath $RUNNER_WORKSPACE)/libffi
+ wget https://rl.gl/cli/rlgl-windows-amd64.zip
+ unzip rlgl-windows-amd64.zip
+ autoreconf -f -v -i
+ CC=clang CXX=clang ./configure
+ make
+ TERM=none DEJAGNU=$(pwd)/.ci/site.exp BOARDSDIR=$(pwd)/.ci make check || true
+ ./rlgl/rlgl.exe l --key=0LIBFFI-0LIBFFI-0LIBFFI-0LIBFFI https://rl.gl
+ ./rlgl/rlgl.exe e \
+ -l project=libffi \
+ -l sha=${GITHUB_SHA:0:7} \
+ -l CC=clang \
+ -l host=x86_64-pc-cygwin \
+ --policy=https://github.com/libffi/rlgl-policy.git $(find . -name libffi.log)
+ shell: msys2 {0}
+
build-macos:
runs-on: ${{ matrix.platform }}