Skip to content

Commit a92ee42

Browse files
authored
fix: windows build
* add windows-x64-mingw cross-compilation * add windows build * remove '.appveyor.yml' * Merge pull request #24 from jerzyjamroz/appveyor
2 parents 9098e19 + f3bee57 commit a92ee42

File tree

2 files changed

+14
-53
lines changed

2 files changed

+14
-53
lines changed

.appveyor.yml

Lines changed: 0 additions & 51 deletions
This file was deleted.

.github/workflows/module-build.yml

Lines changed: 14 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,17 @@ 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+
124+
- os: windows-latest
125+
cmp: vs2022
126+
configuration: default
127+
base: "7.0"
128+
117129
steps:
118130
- uses: actions/checkout@v3
119131
with:
@@ -122,7 +134,7 @@ jobs:
122134
uses: actions/cache@v3
123135
with:
124136
path: ~/.cache
125-
key: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.extra }}
137+
key: ${{ matrix.base }}/${{ matrix.os }}/${{ matrix.cmp }}/${{ matrix.configuration }}/${{ matrix.wine }}${{ matrix.rtems }}/${{ matrix.extra }}/${{ matrix.cross }}
126138
- name: Automatic core dump analysis
127139
uses: mdavidsaver/ci-core-dumper@master
128140
- name: "apt-get install"

0 commit comments

Comments
 (0)