Skip to content
Snippets Groups Projects
Commit e99d2c86 authored by Tobias Glaser's avatar Tobias Glaser
Browse files

testing gitlab-ci

parent 9a0622e5
Branches master
No related tags found
No related merge requests found
...@@ -3,21 +3,25 @@ Windows-MSYS2-MINGW64: ...@@ -3,21 +3,25 @@ Windows-MSYS2-MINGW64:
only: only:
- tags - tags
tags: [ windows, msys2 ] tags: [ windows, msys2 ]
before_script: script:
- echo 0
- wget.exe -nv -O msys2.exe https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe - wget.exe -nv -O msys2.exe https://github.com/msys2/msys2-installer/releases/download/nightly-x86_64/msys2-base-x86_64-latest.sfx.exe
- Get-FileHash ./msys2.exe -Algorithm SHA256 | Format-List - Get-FileHash ./msys2.exe -Algorithm SHA256 | Format-List
- echo 0.5
- ./msys2.exe -y -oC:\ - ./msys2.exe -y -oC:\
- Remove-Item msys2.exe - Remove-Item msys2.exe
- $env:CHERE_INVOKING = 'yes' - $env:CHERE_INVOKING = 'yes'
- $env:MSYSTEM = 'MINGW64' # https://www.msys2.org/docs/environments/ - $env:MSYSTEM = 'MINGW64' # https://www.msys2.org/docs/environments/
- echo 1
- C:\msys64\usr\bin\bash -lc ' ' - C:\msys64\usr\bin\bash -lc ' '
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu' - C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu' - C:\msys64\usr\bin\bash -lc 'pacman --noconfirm -Syuu'
- echo 2
- | - |
C:\msys64\usr\bin\bash -lcx ' C:\msys64\usr\bin\bash -lcx '
pacman --noconfirm -Syu mingw-w64-ucrt-x86_64-gcc mingw-w64-x86_64-cmake pacman --noconfirm -Syu mingw-w64-ucrt-x86_64-gcc mingw-w64-x86_64-cmake
pacman --noconfirm -Syu zip' pacman --noconfirm -Syu zip'
script: - echo 3
- | - |
C:\msys64\usr\bin\bash -lcx ' C:\msys64\usr\bin\bash -lcx '
mkdir -p build mkdir -p build
...@@ -26,8 +30,7 @@ Windows-MSYS2-MINGW64: ...@@ -26,8 +30,7 @@ Windows-MSYS2-MINGW64:
cmake --build . --target cute cmake --build . --target cute
ls -lh ls -lh
cd ..' cd ..'
#- C:\msys64\usr\bin\bash -lc 'grep ^PASS tests/basic.log' - echo 4
after_script:
- | - |
C:\msys64\usr\bin\bash -lcx ' C:\msys64\usr\bin\bash -lcx '
mkdir -p template/{lib,src} mkdir -p template/{lib,src}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment