File tree Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Expand file tree Collapse file tree 2 files changed +40
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : MSYS2
2
+
3
+ on : push
4
+
5
+ jobs :
6
+ msys2_mingw64 :
7
+ runs-on : windows-2022
8
+ defaults :
9
+ run :
10
+ shell : msys2 {0}
11
+ steps :
12
+ # Checks-out the repository under $GITHUB_WORKSPACE.
13
+ - uses : actions/checkout@v3
14
+ with :
15
+ submodules : ' recursive'
16
+ - uses : msys2/setup-msys2@v2
17
+ with :
18
+ msystem : mingw64
19
+ update : true
20
+ install : >-
21
+ mingw-w64-x86_64-cmake
22
+ mingw-w64-x86_64-gcc
23
+ mingw-w64-x86_64-make
24
+ mingw-w64-x86_64-ninja
25
+ - name : Build
26
+ run : |
27
+ export MSYSTEM=MINGW64
28
+ export CXX=g++
29
+ export CC=gcc
30
+ cd $GITHUB_WORKSPACE
31
+ mkdir build
32
+ cd build
33
+ cmake ../
34
+ cmake --build . -j2
35
+ - name : Run tests
36
+ run : |
37
+ export MSYSTEM=MINGW64
38
+ cd "$GITHUB_WORKSPACE/build"
39
+ ctest -V
Original file line number Diff line number Diff line change 2
2
3
3
[ ![ GitHub GCC status] ( https://github.com/striezel/secure-hash-algorithm/workflows/GCC/badge.svg )] ( https://github.com/striezel/secure-hash-algorithm/actions )
4
4
[ ![ GitHub Clang status] ( https://github.com/striezel/secure-hash-algorithm/workflows/Clang/badge.svg )] ( https://github.com/striezel/secure-hash-algorithm/actions )
5
+ [ ![ GitHub MSYS2 status] ( https://github.com/striezel/secure-hash-algorithm/workflows/MSYS2/badge.svg )] ( https://github.com/striezel/secure-hash-algorithm/actions )
5
6
[ ![ GitLab pipeline status] ( https://gitlab.com/striezel/secure-hash-algorithm/badges/master/pipeline.svg )] ( https://gitlab.com/striezel/secure-hash-algorithm/-/pipelines )
6
7
7
8
## Purpose of the program
You can’t perform that action at this time.
0 commit comments