File tree 1 file changed +71
-0
lines changed
1 file changed +71
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : CI
2
+ on : [push, pull_request, workflow_dispatch]
3
+ jobs :
4
+ linux :
5
+ runs-on : ubuntu-latest
6
+ timeout-minutes : 10
7
+ steps :
8
+ - uses : actions/checkout@v4
9
+ - run : make check
10
+ windows :
11
+ runs-on : windows-latest
12
+ timeout-minutes : 10
13
+ env :
14
+ MSYS2_DIR : msys64
15
+ MSYS2_ARCH : x86_64
16
+ MSYSTEM : MINGW64
17
+ ARCH : win64
18
+ PLATFORM : x64
19
+ steps :
20
+ # see https://github.com/msys2/setup-msys2
21
+ - name : setup-msys2
22
+ uses : msys2/setup-msys2@v2
23
+ with :
24
+ path-type : minimal
25
+ update : true
26
+ install : >-
27
+ git
28
+ base-devel
29
+ mingw-w64-x86_64-toolchain
30
+ - name : checkout
31
+ uses : actions/checkout@v4
32
+ with :
33
+ fetch-depth : 1
34
+ - shell : msys2 {0}
35
+ run : make check
36
+ macOS :
37
+ runs-on : macos-latest
38
+ timeout-minutes : 15
39
+ steps :
40
+ - uses : actions/checkout@v4
41
+ - run : make check
42
+ ppc :
43
+ os : ubuntu-latest
44
+ chost : powerpc-linux-gnu
45
+ compiler : powerpc-linux-gnu-gcc
46
+ cxx-compiler : g++-powerpc-linux-gnu
47
+ cmake-args : -DCMAKE_TOOLCHAIN_FILE=cmake/toolchain-powerpc.cmake
48
+ packages : qemu gcc-powerpc-linux-gnu g++-powerpc-linux-gnu libc6-dev-powerpc-cross
49
+ steps :
50
+ - uses : actions/checkout@v4
51
+ - name : install ppc cross
52
+ run : |
53
+ sudo apt-get update
54
+ sudo apt-get install -y --no-install-recommends qemu gcc-powerpc-linux-gnu libc6-dev-powerpc-cross
55
+ - run : make check CC="gcc-powerpc-linux-gnu"
56
+ aarch64 :
57
+ runs-on : ubuntu-latest
58
+ timeout-minutes : 40
59
+ steps :
60
+ - uses : actions/checkout@v4
61
+
62
+ name : check on aarch64
63
+ id : runcmd
64
+ with :
65
+ arch : aarch64
66
+ githubToken : ${{ github.token }}
67
+ distro : ubuntu_latest
68
+ install : |
69
+ apt-get update -q -y
70
+ apt-get install -y make gcc grep
71
+ run : make check
You can’t perform that action at this time.
0 commit comments