2021-01-29 19:56:13 +01:00
|
|
|
name: Dockcross CI
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
2021-08-26 20:47:28 +02:00
|
|
|
- "*"
|
2021-06-29 17:47:51 +02:00
|
|
|
paths-ignore:
|
2021-08-26 20:47:28 +02:00
|
|
|
- "**.md"
|
2021-01-29 19:56:13 +01:00
|
|
|
pull_request:
|
|
|
|
branches:
|
2021-08-26 20:47:28 +02:00
|
|
|
- "*"
|
2021-06-29 17:47:51 +02:00
|
|
|
paths-ignore:
|
2021-08-26 20:47:28 +02:00
|
|
|
- "**.md"
|
2021-07-01 00:15:25 +02:00
|
|
|
workflow_dispatch:
|
2021-01-29 19:56:13 +01:00
|
|
|
|
|
|
|
jobs:
|
|
|
|
base:
|
|
|
|
name: base
|
2021-07-02 08:45:02 +02:00
|
|
|
runs-on: ubuntu-latest
|
2021-01-29 19:56:13 +01:00
|
|
|
steps:
|
2022-05-19 01:03:41 +02:00
|
|
|
- name: checkout code
|
2023-09-04 20:40:42 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-05-19 01:03:41 +02:00
|
|
|
with:
|
|
|
|
submodules: "recursive"
|
|
|
|
fetch-depth: 1
|
|
|
|
|
2024-03-26 03:53:11 +01:00
|
|
|
- name: Set up QEMU
|
|
|
|
uses: docker/setup-qemu-action@v3
|
|
|
|
|
|
|
|
- name: Set up Docker Buildx
|
|
|
|
uses: docker/setup-buildx-action@v3
|
|
|
|
|
2021-01-29 19:56:13 +01:00
|
|
|
- name: build
|
2024-03-26 03:53:11 +01:00
|
|
|
env:
|
|
|
|
BUILD_CMD: buildx build --platform linux/amd64,linux/arm64
|
2022-05-20 13:07:31 +02:00
|
|
|
run: make base
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2021-01-29 19:56:13 +01:00
|
|
|
- name: test
|
|
|
|
run: make base.test
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2021-01-29 19:56:13 +01:00
|
|
|
- name: archive base
|
|
|
|
run: |
|
2021-08-26 20:47:28 +02:00
|
|
|
mkdir -p cache
|
2024-03-03 23:33:37 +01:00
|
|
|
docker export dockcross/base:latest | xz -e9 -T0 > ./cache/base.tar.xz
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2021-01-29 19:56:13 +01:00
|
|
|
- name: save base
|
2024-03-03 23:32:02 +01:00
|
|
|
uses: actions/upload-artifact@v4
|
2021-01-29 19:56:13 +01:00
|
|
|
with:
|
|
|
|
name: cache
|
|
|
|
path: ./cache
|
2024-03-03 23:34:24 +01:00
|
|
|
retention-days: 3
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2021-02-10 18:38:51 +01:00
|
|
|
- name: deploy
|
|
|
|
if: github.ref == 'refs/heads/master'
|
2022-05-20 12:54:08 +02:00
|
|
|
run: |
|
2022-05-19 11:05:42 +02:00
|
|
|
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
|
|
|
docker image push dockcross/base --all-tags
|
2021-01-29 19:56:13 +01:00
|
|
|
|
|
|
|
image:
|
2021-08-24 23:54:17 +02:00
|
|
|
name: ${{ matrix.arch_name.image }}
|
2021-01-29 19:56:13 +01:00
|
|
|
needs: base
|
2021-07-23 23:52:07 +02:00
|
|
|
runs-on: ubuntu-latest
|
2023-01-30 15:46:00 +01:00
|
|
|
env:
|
|
|
|
OCI_EXE: docker
|
2021-01-29 19:56:13 +01:00
|
|
|
strategy:
|
|
|
|
fail-fast: false
|
|
|
|
matrix:
|
2021-08-24 23:54:17 +02:00
|
|
|
arch_name:
|
2021-08-26 20:47:28 +02:00
|
|
|
# Android images
|
|
|
|
- {
|
|
|
|
image: "android-arm",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv7 COMP=ndk",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
2021-08-27 20:44:52 +02:00
|
|
|
openssl: "yes",
|
2021-08-27 13:19:31 +02:00
|
|
|
openssl_arg: "android-arm no-shared",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-12 01:11:47 +02:00
|
|
|
cpython: "no",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=arm-linux-androideabi --target=arm-linux-androideabi",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "android-arm64",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv8 COMP=ndk",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
2021-08-27 20:44:52 +02:00
|
|
|
openssl: "yes",
|
2021-08-27 13:19:31 +02:00
|
|
|
openssl_arg: "android-arm64 no-shared",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-12 01:11:47 +02:00
|
|
|
cpython: "no",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=aarch64-linux-android --target=aarch64-linux-android",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "android-x86",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-32 COMP=ndk",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
2021-08-27 20:44:52 +02:00
|
|
|
openssl: "yes",
|
2021-08-27 13:19:31 +02:00
|
|
|
openssl_arg: "android-x86 no-shared",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-12 01:11:47 +02:00
|
|
|
cpython: "no",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=i686-linux-android --target=i686-linux-android",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "android-x86_64",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64 COMP=ndk",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
2021-08-27 20:44:52 +02:00
|
|
|
openssl: "yes",
|
2021-08-27 13:19:31 +02:00
|
|
|
openssl_arg: "android-x86_64 no-shared",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
2021-10-07 11:57:01 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-12 01:11:47 +02:00
|
|
|
cpython: "no",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=x86_64-linux-android --target=x86_64-linux-android",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux arm64/armv8 images
|
|
|
|
- {
|
|
|
|
image: "linux-arm64",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv8",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-aarch64",
|
2021-08-29 13:37:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu",
|
2021-09-20 12:55:18 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-arm64-lts",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv8",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-aarch64",
|
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-arm64-musl",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv8",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-aarch64",
|
2021-08-29 13:37:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=aarch64-linux-musl --target=aarch64-linux-musl",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-arm64-full",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv8",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-aarch64",
|
2021-08-29 13:37:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-12 09:54:13 +02:00
|
|
|
cpython_arg: "--host=aarch64-buildroot-linux-gnu --target=aarch64-buildroot-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2022-04-22 15:18:28 +02:00
|
|
|
# Linux mipel images
|
|
|
|
- {
|
|
|
|
image: "linux-mipsel-lts",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "",
|
|
|
|
C: "no",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2022-04-22 15:18:28 +02:00
|
|
|
cpython: "no",
|
|
|
|
cpython_arg: "",
|
|
|
|
}
|
2021-08-26 20:47:28 +02:00
|
|
|
# Linux armv5 images
|
|
|
|
- {
|
|
|
|
image: "linux-armv5",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=armv5-unknown-linux-gnueabi --target=armv5-unknown-linux-gnueabi",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-armv5-musl",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=armv5-unknown-linux-musleabi --target=armv5-unknown-linux-musleabi",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2022-02-01 16:03:56 +01:00
|
|
|
- {
|
|
|
|
image: "linux-armv5-uclibc",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2022-02-02 01:21:50 +01:00
|
|
|
C: "no",
|
2022-02-01 16:03:56 +01:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2022-02-01 16:03:56 +01:00
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "--host=arm-unknown-linux-uclibcgnueabi --target=arm-unknown-linux-uclibcgnueabi",
|
|
|
|
}
|
2021-08-26 20:47:28 +02:00
|
|
|
# Linux armv6 images
|
|
|
|
- {
|
|
|
|
image: "linux-armv6",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=armv6-unknown-linux-gnueabihf --target=armv6-unknown-linux-gnueabihf",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-armv6-lts",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=armv6-unknown-linux-gnueabihf --target=armv6-unknown-linux-gnueabihf",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-armv6-musl",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=armv6-linux-musleabihf --target=armv6-linux-musleabihf",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux armv7 images
|
|
|
|
- {
|
|
|
|
image: "linux-armv7",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv7",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=armv7-unknown-linux-gnueabi --target=armv7-unknown-linux-gnueabi",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-armv7a",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv7-neon",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
2022-05-16 16:45:38 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2022-05-16 16:45:38 +02:00
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "--host=arm-cortexa8_neon-linux-gnueabihf --target=arm-cortexa8_neon-linux-gnueabihf",
|
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-armv7a-lts",
|
2021-08-26 20:47:28 +02:00
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv7-neon",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=arm-cortexa8_neon-linux-gnueabihf --target=arm-cortexa8_neon-linux-gnueabihf",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2021-10-15 21:10:39 +02:00
|
|
|
- {
|
|
|
|
image: "linux-armv7-lts",
|
|
|
|
stockfish: "yes",
|
2021-10-15 23:29:01 +02:00
|
|
|
stockfish_arg: "ARCH=armv7",
|
2021-10-15 21:10:39 +02:00
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
|
|
|
C: "no",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-15 21:10:39 +02:00
|
|
|
cpython: "yes",
|
2021-10-15 23:29:01 +02:00
|
|
|
cpython_arg: "--host=armv7-unknown-linux-gnueabi --target=armv7-unknown-linux-gnueabi",
|
2021-10-15 21:10:39 +02:00
|
|
|
}
|
2021-08-26 20:47:28 +02:00
|
|
|
- {
|
|
|
|
image: "linux-armv7l-musl",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=armv7",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-armv4",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=armv7l-linux-musleabihf --target=armv7l-linux-musleabihf",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux x86 images
|
|
|
|
- {
|
|
|
|
image: "linux-x86",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-32-sse41-popcnt",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-x86",
|
2022-10-18 19:55:56 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "",
|
|
|
|
}
|
|
|
|
# Linux i686 images
|
|
|
|
- {
|
|
|
|
image: "linux-i686",
|
2022-10-28 22:19:11 +02:00
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
2022-10-18 19:55:56 +02:00
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
2022-11-28 23:16:16 +01:00
|
|
|
openssl_arg: "linux-generic32",
|
2022-02-02 01:21:50 +01:00
|
|
|
C: "yes",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2022-11-29 17:04:21 +01:00
|
|
|
cpython_arg: "--host=i686-linux-gnu --target=i686-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux x86_64 images
|
|
|
|
- {
|
|
|
|
image: "linux-x64",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-x86_64",
|
2021-08-28 08:40:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
2021-08-27 19:06:37 +02:00
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-x64-tinycc",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
2021-10-17 14:31:34 +02:00
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-generic64 no-tests no-asm no-hw no-dtls no-shared no-dso",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 15:07:32 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-x64-clang",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern COMP=clang",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
2021-10-17 14:01:04 +02:00
|
|
|
openssl: "yes",
|
2021-08-26 20:47:28 +02:00
|
|
|
openssl_arg: "linux-x86_64-clang",
|
2021-08-29 13:37:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-17 14:01:04 +02:00
|
|
|
cpython: "yes",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-x86_64-full",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
2021-08-29 13:37:13 +02:00
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-x86_64",
|
2021-08-28 08:40:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-29 13:37:13 +02:00
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=x86_64-buildroot-linux-gnu --target=x86_64-buildroot-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux riscv images
|
|
|
|
- {
|
|
|
|
image: "linux-riscv32",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-generic32",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=riscv32-unknown-linux-gnu --target=riscv32-unknown-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "linux-riscv64",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-generic64",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=riscv64-unknown-linux-gnu --target=riscv64-unknown-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux s390x images
|
|
|
|
- {
|
|
|
|
image: "linux-s390x",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux64-s390x",
|
2021-08-29 13:37:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=s390x-ibm-linux-gnu --target=s390x-ibm-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2022-04-24 22:50:06 +02:00
|
|
|
# Linux mips images
|
2021-08-26 20:47:28 +02:00
|
|
|
- {
|
|
|
|
image: "linux-mips",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-generic32",
|
2022-04-24 22:50:06 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2022-04-24 22:50:06 +02:00
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "--host=mips-unknown-linux-gnu --target=mips-unknown-linux-gnu",
|
|
|
|
}
|
2023-03-29 11:39:30 +02:00
|
|
|
- {
|
|
|
|
image: "linux-mips-uclibc",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-generic32",
|
2023-04-20 15:09:14 +02:00
|
|
|
C: "no",
|
2023-03-29 11:39:30 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "--host=mips-unknown-linux-uclibc --target=mips-unknown-linux-uclibc",
|
|
|
|
}
|
2022-04-24 22:50:06 +02:00
|
|
|
# Linux mips images
|
|
|
|
- {
|
|
|
|
image: "linux-mips-lts",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-generic32",
|
2021-08-29 13:37:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=mips-unknown-linux-gnu --target=mips-unknown-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux ppc64le images
|
|
|
|
- {
|
|
|
|
image: "linux-ppc64le",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=ppc-64",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-ppc64le",
|
2021-08-29 13:37:13 +02:00
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=powerpc64le-unknown-linux-gnu --target=powerpc64le-unknown-linux-gnu",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2023-09-21 23:56:23 +02:00
|
|
|
# Linux ppc64le-lts images
|
|
|
|
- {
|
|
|
|
image: "linux-ppc64le-lts",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=ppc-64",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-ppc64le",
|
|
|
|
C: "yes",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "--host=powerpc64le-unknown-linux-gnu --target=powerpc64le-unknown-linux-gnu",
|
|
|
|
}
|
2021-08-26 20:47:28 +02:00
|
|
|
# Linux m68k images
|
|
|
|
- {
|
|
|
|
image: "linux-m68k-uclibc",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "linux-generic32 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 15:07:32 +02:00
|
|
|
cpython: "no",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=m68k-unknown-uclinux-uclibc --target=m68k-unknown-uclinux-uclibc",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Linux xtensa images
|
|
|
|
- {
|
|
|
|
image: "linux-xtensa-uclibc",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "yes",
|
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
2021-10-11 20:56:49 +02:00
|
|
|
cpython_arg: "--host=xtensa-fsf-linux-uclibc --target=xtensa-fsf-linux-uclibc",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Windows x86_x64 images
|
|
|
|
- {
|
|
|
|
image: "windows-static-x64",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw64 no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 11:57:01 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "windows-static-x64-posix",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern COMP=mingw",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw64 no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 11:57:01 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "windows-shared-x64",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw64 no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 11:57:01 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "windows-shared-x64-posix",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw64 no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 11:57:01 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Windows x86 images
|
|
|
|
- {
|
|
|
|
image: "windows-static-x86",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-32-sse41-popcnt COMP=mingw",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 11:57:01 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "windows-shared-x86",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-30 07:10:36 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-30 07:10:36 +02:00
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 11:57:01 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
# Windows arm images
|
|
|
|
- {
|
|
|
|
image: "windows-armv7",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "ARCH=armv7-neon COMP=clang",
|
2023-08-08 23:31:24 +02:00
|
|
|
ninja: "yes",
|
2021-08-26 20:47:28 +02:00
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2023-08-08 23:31:24 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2023-08-08 23:31:24 +02:00
|
|
|
raylib: "yes",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib_arg: "",
|
2021-10-07 15:07:32 +02:00
|
|
|
cpython: "no",
|
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "windows-arm64",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "ARCH=armv8 COMP=clang",
|
2023-08-08 23:31:24 +02:00
|
|
|
ninja: "yes",
|
2021-08-26 20:47:28 +02:00
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "mingw64 no-asm",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2023-08-08 23:31:24 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2023-08-08 23:31:24 +02:00
|
|
|
raylib: "yes",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib_arg: "",
|
2021-10-07 15:07:32 +02:00
|
|
|
cpython: "no",
|
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2022-07-05 17:45:51 +02:00
|
|
|
# manylinux_2_28 images
|
2022-06-22 01:23:22 +02:00
|
|
|
- {
|
2022-07-05 17:45:51 +02:00
|
|
|
image: "manylinux_2_28-x64",
|
2022-06-22 01:23:22 +02:00
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-x86_64",
|
|
|
|
C: "no",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "no",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2022-06-22 01:23:22 +02:00
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "",
|
|
|
|
}
|
2021-08-26 20:47:28 +02:00
|
|
|
# manylinux2014 images
|
|
|
|
- {
|
|
|
|
image: "manylinux2014-x86",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-32-sse41-popcnt",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-x86",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "manylinux2014-x64",
|
|
|
|
stockfish: "yes",
|
|
|
|
stockfish_arg: "ARCH=x86-64-modern",
|
|
|
|
ninja: "yes",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-x86_64",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "yes",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2023-01-27 13:19:09 +01:00
|
|
|
- {
|
|
|
|
image: "manylinux2014-aarch64",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "yes",
|
|
|
|
openssl_arg: "linux-aarch64",
|
|
|
|
C: "no",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "no",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "no",
|
|
|
|
fmt_arg: "",
|
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
|
|
|
cpython: "yes",
|
|
|
|
cpython_arg: "--host=aarch64-unknown-linux-gnu --target=aarch64-unknown-linux-gnu",
|
|
|
|
}
|
2021-08-26 20:47:28 +02:00
|
|
|
# web-wasm images
|
|
|
|
- {
|
|
|
|
image: "web-wasm",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
2021-08-29 16:48:37 +02:00
|
|
|
C: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C_arg: "",
|
2021-08-29 20:47:51 +02:00
|
|
|
C-Plus-Plus: "no",
|
2021-10-08 23:07:09 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "no",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "yes",
|
|
|
|
raylib_arg: "-DPLATFORM=Web",
|
2021-10-08 23:07:09 +02:00
|
|
|
cpython: "no",
|
|
|
|
cpython_arg: "",
|
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "web-wasi",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
|
|
|
C: "no",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "no",
|
2021-08-29 13:37:13 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
2021-08-30 07:10:36 +02:00
|
|
|
fmt: "no",
|
2024-04-02 19:32:34 +02:00
|
|
|
fmt_arg: "",
|
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
|
|
|
cpython: "no",
|
|
|
|
cpython_arg: "",
|
|
|
|
}
|
|
|
|
- {
|
|
|
|
image: "web-wasi-threads",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso",
|
|
|
|
C: "no",
|
|
|
|
C_arg: "",
|
|
|
|
C-Plus-Plus: "no",
|
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "no",
|
2021-09-20 12:55:18 +02:00
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2021-10-07 11:57:01 +02:00
|
|
|
cpython: "no",
|
2021-10-05 19:54:20 +02:00
|
|
|
cpython_arg: "",
|
2021-08-26 20:47:28 +02:00
|
|
|
}
|
2022-03-31 09:58:31 +02:00
|
|
|
# Bare metal images
|
|
|
|
- {
|
|
|
|
image: "bare-armv7emhf-nano_newlib",
|
|
|
|
stockfish: "no",
|
|
|
|
stockfish_arg: "",
|
|
|
|
ninja: "no",
|
|
|
|
ninja_arg: "",
|
|
|
|
openssl: "no",
|
|
|
|
openssl_arg: "",
|
|
|
|
C: "no",
|
|
|
|
C_arg: "",
|
2022-06-18 18:57:50 +02:00
|
|
|
C-Plus-Plus: "no",
|
2022-03-31 09:58:31 +02:00
|
|
|
C-Plus-Plus_arg: "",
|
|
|
|
fmt: "no",
|
|
|
|
fmt_arg: "",
|
2022-09-12 22:23:09 +02:00
|
|
|
raylib: "no",
|
|
|
|
raylib_arg: "",
|
2022-03-31 09:58:31 +02:00
|
|
|
cpython: "no",
|
|
|
|
cpython_arg: "",
|
|
|
|
mbedtls: "yes",
|
|
|
|
mbedtls_arg: "",
|
2022-06-20 13:23:45 +02:00
|
|
|
libopencm3: "yes",
|
|
|
|
libopencm3_arg: "",
|
2022-03-31 09:58:31 +02:00
|
|
|
}
|
2021-01-29 19:56:13 +01:00
|
|
|
steps:
|
2022-05-19 01:03:41 +02:00
|
|
|
- name: checkout code
|
2023-09-04 20:40:42 +02:00
|
|
|
uses: actions/checkout@v4
|
2022-05-19 01:03:41 +02:00
|
|
|
with:
|
|
|
|
submodules: "recursive"
|
|
|
|
fetch-depth: 1
|
|
|
|
|
2024-03-03 23:32:02 +01:00
|
|
|
- uses: actions/download-artifact@v4
|
2021-01-29 19:56:13 +01:00
|
|
|
with:
|
|
|
|
name: cache
|
|
|
|
path: ./cache
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2021-01-29 19:56:13 +01:00
|
|
|
- name: load base
|
2024-03-03 23:33:37 +01:00
|
|
|
run: xz -d -k < ./cache/base.tar.xz | docker import - dockcross/base:latest
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2021-01-29 19:56:13 +01:00
|
|
|
- name: build
|
2022-05-20 13:07:31 +02:00
|
|
|
run: make ${{ matrix.arch_name.image }}
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2021-08-24 23:54:17 +02:00
|
|
|
- name: basic test
|
|
|
|
run: make ${{ matrix.arch_name.image }}.test
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-05-19 01:12:04 +02:00
|
|
|
# Updated on 19/05/2022
|
2021-08-26 20:47:28 +02:00
|
|
|
- name: stockfish build test
|
|
|
|
if: ${{ matrix.arch_name.stockfish == 'yes' }}
|
|
|
|
run: |
|
2022-05-19 01:12:04 +02:00
|
|
|
git clone --depth 1 --branch sf_15 https://github.com/official-stockfish/Stockfish.git
|
2021-08-26 20:47:28 +02:00
|
|
|
cd Stockfish/src
|
|
|
|
./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} net
|
|
|
|
./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2
|
|
|
|
cd ../..
|
|
|
|
rm -rf Stockfish
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-09-12 22:23:09 +02:00
|
|
|
# Updated on 12/09/2022
|
2021-08-26 20:47:28 +02:00
|
|
|
- name: ninja build test
|
|
|
|
if: ${{ matrix.arch_name.ninja == 'yes' }}
|
|
|
|
run: |
|
2022-09-12 22:23:09 +02:00
|
|
|
git clone --depth 1 --branch v1.11.1 https://github.com/ninja-build/ninja.git
|
2021-08-26 20:47:28 +02:00
|
|
|
cd ninja
|
|
|
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }}
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-09-12 22:23:09 +02:00
|
|
|
# Updated on 12/09/2022
|
2021-08-26 20:47:28 +02:00
|
|
|
- name: openssl build test
|
|
|
|
if: ${{ matrix.arch_name.openssl == 'yes' }}
|
|
|
|
run: |
|
2022-09-12 22:23:09 +02:00
|
|
|
git clone --depth 1 --branch OpenSSL_1_1_1q https://github.com/openssl/openssl.git
|
2021-08-26 20:47:28 +02:00
|
|
|
cd openssl
|
2021-08-27 23:01:43 +02:00
|
|
|
wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch
|
|
|
|
patch -p 0 < dockcross-android.patch
|
2021-08-26 20:47:28 +02:00
|
|
|
./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./Configure ${{ matrix.arch_name.openssl_arg }}
|
|
|
|
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2
|
|
|
|
cd ..
|
|
|
|
rm -rf openssl
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-09-12 22:23:09 +02:00
|
|
|
# Updated on 12/09/2022
|
2021-08-28 08:40:13 +02:00
|
|
|
- name: C build test
|
|
|
|
if: ${{ matrix.arch_name.C == 'yes' }}
|
|
|
|
run: |
|
|
|
|
git clone https://github.com/TheAlgorithms/C.git
|
|
|
|
cd C
|
2022-09-12 22:23:09 +02:00
|
|
|
git checkout b0a41bb38c67ddebb31d3fe06d11e171410c3379
|
2021-08-28 08:40:13 +02:00
|
|
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }}
|
|
|
|
cd ..
|
|
|
|
rm -rf C
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-09-12 22:23:09 +02:00
|
|
|
# Updated on 12/09/2022
|
2021-08-27 19:06:37 +02:00
|
|
|
- name: C-Plus-Plus build test
|
|
|
|
if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }}
|
|
|
|
run: |
|
|
|
|
git clone https://github.com/TheAlgorithms/C-Plus-Plus.git
|
|
|
|
cd C-Plus-Plus
|
2022-09-12 22:23:09 +02:00
|
|
|
git checkout 0594923efa8e6b006a5d754c5e7976850290577c
|
2021-08-27 19:06:37 +02:00
|
|
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }}
|
|
|
|
cd ..
|
|
|
|
rm -rf C-Plus-Plus
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-09-12 22:23:09 +02:00
|
|
|
# Updated on 12/09/2022
|
2021-08-27 20:44:52 +02:00
|
|
|
- name: fmt build test
|
2021-08-27 19:06:37 +02:00
|
|
|
if: ${{ matrix.arch_name.fmt == 'yes' }}
|
|
|
|
run: |
|
2022-09-12 22:23:09 +02:00
|
|
|
git clone --depth 1 --branch 9.1.0 https://github.com/fmtlib/fmt.git
|
2021-08-27 19:06:37 +02:00
|
|
|
cd fmt
|
|
|
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF
|
|
|
|
cd ..
|
|
|
|
rm -rf fmt
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-05-19 01:12:04 +02:00
|
|
|
# Updated on 19/05/2022
|
2021-10-05 19:54:20 +02:00
|
|
|
- name: cpython build test
|
|
|
|
if: ${{ matrix.arch_name.cpython == 'yes' }}
|
2021-10-04 17:52:16 +02:00
|
|
|
run: |
|
2023-10-21 09:22:29 +02:00
|
|
|
git clone --depth 1 --branch v3.11.2 https://github.com/python/cpython.git
|
2021-10-05 19:54:20 +02:00
|
|
|
cd cpython
|
2023-11-06 12:53:18 +01:00
|
|
|
./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./configure ac_cv_file__dev_ptmx=no ac_cv_file__dev_ptc=no --disable-ipv6 ${{ matrix.arch_name.cpython_arg }} --build=x86_64-linux-gnu --with-build-python --enable-shared
|
2021-10-05 19:54:20 +02:00
|
|
|
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2
|
2021-10-04 17:52:16 +02:00
|
|
|
cd ..
|
2021-10-05 19:54:20 +02:00
|
|
|
rm -rf cpython
|
2022-05-19 01:03:41 +02:00
|
|
|
|
2022-09-13 09:21:19 +02:00
|
|
|
# Updated on 12/09/2022 (4.2.0 branch not working)
|
2022-09-12 22:23:09 +02:00
|
|
|
- name: raylib build test
|
|
|
|
if: ${{ matrix.arch_name.raylib == 'yes' }}
|
|
|
|
run: |
|
2022-09-13 09:21:19 +02:00
|
|
|
git clone https://github.com/raysan5/raylib.git
|
2022-09-12 22:23:09 +02:00
|
|
|
cd raylib
|
2022-09-13 09:21:19 +02:00
|
|
|
git checkout a12ddacb7bfbc6e552e6145456f2fe6dfdfbe1c7
|
2022-09-12 22:23:09 +02:00
|
|
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.raylib_arg }}
|
|
|
|
cd ..
|
|
|
|
rm -rf raylib
|
|
|
|
|
2022-03-31 09:58:31 +02:00
|
|
|
# Updated on 31/3/2022
|
|
|
|
- name: mbedtls build test
|
|
|
|
if: ${{ matrix.arch_name.mbedtls == 'yes' }}
|
|
|
|
run: |
|
|
|
|
git clone --depth 1 --branch archive/baremetal https://github.com/Mbed-TLS/mbedtls.git
|
|
|
|
cd mbedtls
|
|
|
|
./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} scripts/config.pl baremetal
|
|
|
|
./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }}
|
|
|
|
cd ..
|
|
|
|
rm -rf mbedtls
|
|
|
|
|
2022-06-20 13:23:45 +02:00
|
|
|
# Updated on 20/6/2022
|
|
|
|
- name: libopencm3 build test
|
|
|
|
if: ${{ matrix.arch_name.libopencm3 == 'yes' }}
|
2022-06-18 18:57:50 +02:00
|
|
|
run: |
|
2022-06-20 13:23:45 +02:00
|
|
|
git clone https://github.com/libopencm3/libopencm3.git
|
|
|
|
cd libopencm3
|
|
|
|
git checkout 467522778329d6f41781a6c951b77d6ff6744de6
|
|
|
|
./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} "PREFIX=/usr/xcc/arm-none-eabi/bin/arm-none-eabi- \
|
|
|
|
TARGETS='stm32/f1 stm32/f2 stm32/f3 stm32/f4 stm32/f7 \
|
|
|
|
stm32/l1 stm32/l4 stm32/g4 stm32/h7 gd32/f1x0 lpc13xx \
|
|
|
|
lpc17xx lpc43xx/m4 lm3s lm4f msp432/e4 efm32/tg efm32/g \
|
|
|
|
efm32/lg efm32/gg efm32/wg efm32/ezr32wg nrf/51 nrf/52 \
|
|
|
|
sam/3a sam/3n sam/3s sam/3u sam/3x sam/4l vf6xx pac55xx' \
|
|
|
|
-j`nproc`"
|
2022-06-18 18:57:50 +02:00
|
|
|
cd ..
|
2022-06-20 13:23:45 +02:00
|
|
|
rm -rf libopencm3
|
2022-06-18 18:57:50 +02:00
|
|
|
|
2021-01-29 19:56:13 +01:00
|
|
|
- name: deploy
|
2021-02-10 16:24:34 +01:00
|
|
|
if: github.ref == 'refs/heads/master'
|
2022-05-20 12:54:08 +02:00
|
|
|
run: |
|
2022-05-19 11:05:42 +02:00
|
|
|
docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }}
|
|
|
|
docker image push dockcross/${{ matrix.arch_name.image }} --all-tags
|