Skip to content

Commit 3ed146c

Browse files
committed
Add windows-msys2-ucrt64 build job.
1 parent 85eb44b commit 3ed146c

1 file changed

Lines changed: 36 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,42 @@ jobs:
9494
path: |
9595
.build-ci/meson-logs/*.txt
9696
97+
windows-msys2-ucrt64:
98+
runs-on: windows-latest
99+
timeout-minutes: 60
100+
steps:
101+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
102+
- uses: msys2/setup-msys2@cafece8e6baf9247cf9b1bf95097b0b983cc558d # v2.31.0
103+
with:
104+
msystem: UCRT64
105+
update: true
106+
install: >-
107+
git
108+
mingw-w64-ucrt-x86_64-gcc
109+
mingw-w64-ucrt-x86_64-pkgconf
110+
mingw-w64-ucrt-x86_64-meson
111+
mingw-w64-ucrt-x86_64-ninja
112+
mingw-w64-ucrt-x86_64-ccache
113+
mingw-w64-ucrt-x86_64-json-c
114+
115+
- name: Build nvme-cli
116+
shell: msys2 {0}
117+
run: |
118+
set -euxo pipefail
119+
which bash
120+
bash --version
121+
which git
122+
git --version
123+
git config --global --add safe.directory "$GITHUB_WORKSPACE"
124+
scripts/build.sh -b release -c gcc
125+
126+
- uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0
127+
if: failure()
128+
with:
129+
name: windows-msys2-ucrt64-logs
130+
path: |
131+
.build-ci/meson-logs/*.txt
132+
97133
cross:
98134
runs-on: ubuntu-latest
99135
strategy:

0 commit comments

Comments
 (0)