Skip to content

Commit ad42558

Browse files
committed
Add Fedora CI
1 parent 554513b commit ad42558

File tree

1 file changed

+18
-3
lines changed

1 file changed

+18
-3
lines changed

.github/workflows/build-and-test.yml

Lines changed: 18 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
# .travis.yml.
3232
#
3333
# See <https://docs.github.com/en/actions/using-jobs/using-a-matrix-for-your-jobs#using-a-matrix-strategy>.
34-
34+
3535
strategy:
3636
matrix:
3737
os: [ubuntu-latest, macos-latest]
@@ -49,6 +49,21 @@ jobs:
4949
- run: make
5050
- run: make test
5151

52+
fedora:
53+
strategy:
54+
fail-fast: true
55+
runs-on: ubuntu-latest
56+
container: fedora:rawhide
57+
58+
# See design.mps.tests.ci.run.posix.
59+
steps:
60+
- name: Install build tools
61+
run: dnf -y install gcc-c++ make
62+
- uses: actions/checkout@v3
63+
- run: CC=${{ matrix.compiler }} ./configure
64+
- run: make
65+
- run: make test
66+
5267
windows:
5368

5469
runs-on: windows-latest
@@ -94,10 +109,10 @@ jobs:
94109
# publish, distribute, sublicense, and/or sell copies of the Software,
95110
# and to permit persons to whom the Software is furnished to do so,
96111
# subject to the following conditions:
97-
#
112+
#
98113
# The above copyright notice and this permission notice shall be
99114
# included in all copies or substantial portions of the Software.
100-
#
115+
#
101116
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
102117
# EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
103118
# MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND

0 commit comments

Comments
 (0)