Debian Codegraph @

vendor/mruby/mrbgems/mruby-file-stat/.github/workflows/ci.yml

raw
1 name: CI
2
3 on:
4 push:
5 branches:
6 - master
7 pull_request:
8 branches:
9 - master
10
11 jobs:
12 ubuntu-latest-gcc:
13 strategy:
14 matrix:
15 mruby-version:
16 - 3.0.0
17 - 3.1.0
18 - 3.2.0
19 disable-presym:
20 - 'true'
21 - 'false'
22 runs-on: ubuntu-latest
23 steps:
24 - uses: actions/checkout@v4
25 - uses: ruby/setup-ruby@v1
26 with:
27 ruby-version: '3.2'
28 - name: Build and test
29 env:
30 CC: gcc
31 CXX: g++
32 MRUBY_VERSION: ${{ matrix.mruby-version }}
33 DISABLE_PRESYM: ${{ matrix.disable-presym }}
34 run: rake test
35
36 ubuntu-latest-clang:
37 strategy:
38 matrix:
39 mruby-version:
40 - 3.0.0
41 - 3.1.0
42 - 3.2.0
43 disable-presym:
44 - 'true'
45 - 'false'
46 runs-on: ubuntu-latest
47 steps:
48 - uses: actions/checkout@v4
49 - uses: ruby/setup-ruby@v1
50 with:
51 ruby-version: '3.2'
52 - name: Build and test
53 env:
54 CC: clang
55 CXX: clang++
56 MRUBY_VERSION: ${{ matrix.mruby-version }}
57 DISABLE_PRESYM: ${{ matrix.disable-presym }}
58 run: rake test
59
60 ubuntu-latest-mingw:
61 strategy:
62 matrix:
63 mruby-version:
64 - 3.0.0
65 - 3.1.0
66 - 3.2.0
67 disable-presym:
68 - 'true'
69 - 'false'
70 runs-on: ubuntu-latest
71 steps:
72 - uses: actions/checkout@v4
73 - uses: ruby/setup-ruby@v1
74 with:
75 ruby-version: '3.2'
76 - name: apt
77 run: sudo apt install mingw-w64
78 - name: Build and test
79 env:
80 TARGET: windows-x86_64
81 MRUBY_VERSION: ${{ matrix.mruby-version }}
82 DISABLE_PRESYM: ${{ matrix.disable-presym }}
83 run: rake test
84
85 windows-mingw:
86 strategy:
87 matrix:
88 mruby-version:
89 - 3.0.0
90 - 3.1.0
91 - 3.2.0
92 disable-presym:
93 - 'true'
94 - 'false'
95 runs-on: windows-latest
96 steps:
97 - uses: actions/checkout@v4
98 - uses: ruby/setup-ruby@v1
99 with:
100 ruby-version: '3.2'
101 - name: Build and test
102 env:
103 CFLAGS: -g -O1 -Wall -Wundef
104 MRUBY_VERSION: ${{ matrix.mruby-version }}
105 DISABLE_PRESYM: ${{ matrix.disable-presym }}
106 run: rake test