diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2022-09-03 01:18:06 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2022-09-03 19:55:09 +0200 |
commit | 57656d7fe467af8a74a6df0abb1814411e3efd40 (patch) | |
tree | adcd9c672a869e5eabbffab1a2744de1b78336a6 /.gitlab-ci.yml | |
parent | 8a7732f2a59742aa35d1447c5bac237ed5f885ef (diff) |
CI and tarball/SDK support
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml new file mode 100644 index 0000000..947c888 --- /dev/null +++ b/.gitlab-ci.yml @@ -0,0 +1,39 @@ +image: debian:stable + +stages: + - build + +before_script: + - export DEBIAN_FRONTEND=noninteractive + - apt-get update -qq + - > + apt-get install -y -qq \ + coreutils wget tar gzip bzip2 patch cmake make binutils gcc g++ autoconf automake flex bison texinfo \ + curl xz-utils build-essential git + +build-again: + script: + - ./mingw-w64-build --jobs 8 --keep-artifacts --tarball ./x86_64-w64-mingw32-toolchain.tbz2 x86_64 + - sha512sum -b ./x86_64-w64-mingw32-toolchain.tbz2 >./x86_64-w64-mingw32-toolchain.tbz2.sha512 + artifacts: + expire_in: 1 week + paths: + - ./x86_64-w64-mingw32-toolchain.tbz2 + - ./x86_64-w64-mingw32-toolchain.tbz2.sha512 + stage: build + only: + - main + when: manual + +build: + script: + - ./mingw-w64-build --jobs 8 --keep-artifacts --tarball ./x86_64-w64-mingw32-toolchain.tbz2 x86_64 + - sha512sum -b ./x86_64-w64-mingw32-toolchain.tbz2 >./x86_64-w64-mingw32-toolchain.tbz2.sha512 + artifacts: + expire_in: 1 week + paths: + - ./x86_64-w64-mingw32-toolchain.tbz2 + - ./x86_64-w64-mingw32-toolchain.tbz2.sha512 + stage: build + only: + - main |