Skip to content

Commit a9dd18a

Browse files
committed
feat: add windows-x64-mingw compilation
1 parent 17d04bb commit a9dd18a

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

.github/workflows/module-build.yml

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ env:
4343

4444
jobs:
4545
build-base:
46-
name: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}${{ matrix.rtems }}/${{ matrix.extra }}
46+
name: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}${{ matrix.rtems }}/${{ matrix.extra }}/${{ matrix.cross }}
4747
runs-on: ${{ matrix.os }}
4848
# Set environment variables from matrix parameters
4949
env:
@@ -53,6 +53,7 @@ jobs:
5353
RTEMS: ${{ matrix.rtems }}
5454
EXTRA: ${{ matrix.extra }}
5555
TEST: ${{ matrix.test }}
56+
CI_CROSS_TARGETS: ${{ matrix.cross }}
5657
strategy:
5758
fail-fast: false
5859
matrix:
@@ -114,6 +115,12 @@ jobs:
114115
configuration: default
115116
base: "7.0"
116117

118+
- os: ubuntu-latest
119+
cmp: gcc
120+
configuration: default
121+
base: "7.0"
122+
cross: "windows-x64-mingw"
123+
117124
steps:
118125
- uses: actions/checkout@v3
119126
with:
@@ -122,7 +129,7 @@ jobs:
122129
uses: actions/cache@v3
123130
with:
124131
path: ~/.cache
125-
key: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.extra }}
132+
key: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.extra }}/${{ matrix.cross }}
126133
- name: Automatic core dump analysis
127134
uses: mdavidsaver/ci-core-dumper@master
128135
- name: "apt-get install"

0 commit comments

Comments
 (0)