aboutsummaryrefslogtreecommitdiff
path: root/.gitlab-ci.yml
diff options
context:
space:
mode:
authorToni Uhlig <matzeton@googlemail.com>2022-09-04 15:15:18 +0200
committerToni Uhlig <matzeton@googlemail.com>2022-09-05 01:33:22 +0200
commit06c1b20ec726faaf303dadffeca8450f945cc567 (patch)
tree9495a9a305fcd1e48808ffdd155f8ecf06b5c5a7 /.gitlab-ci.yml
parent57656d7fe467af8a74a6df0abb1814411e3efd40 (diff)
Added activate.sh script and run CI test.v1.0
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index 947c888..b8f5b08 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -2,6 +2,7 @@ image: debian:stable
stages:
- build
+ - activate
before_script:
- export DEBIAN_FRONTEND=noninteractive
@@ -29,6 +30,13 @@ 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
+ - mkdir tmp
+ - cd tmp
+ - tar -xjf ../x86_64-w64-mingw32-toolchain.tbz2
+ - cd ..
+ - source ./tmp/mingw-w64-sysroot/activate.sh
+ - x86_64-w64-mingw32-gcc -v
+ - x86_64-w64-mingw32-g++ -v
artifacts:
expire_in: 1 week
paths: