Skip to content

Commit 6981fa8

Browse files
committed
Build/Test for x86_64-pc-windows-gnullvm
1 parent 19ff728 commit 6981fa8

File tree

1 file changed

+34
-0
lines changed

1 file changed

+34
-0
lines changed

.github/workflows/cross.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -298,6 +298,7 @@ jobs:
298298
- name: Run cargo test
299299
run: cargo build -p aws-lc-rs --features prebuilt-nasm --target x86_64-pc-windows-gnu
300300
open-harmony:
301+
if: github.repository_owner == 'aws'
301302
runs-on: ubuntu-latest
302303
env:
303304
DOCKER_BUILDKIT: 1
@@ -314,6 +315,7 @@ jobs:
314315
docker run -v "${{ github.workspace }}:/aws_lc_rs" ohos:5.0.0
315316
316317
alpine-linux:
318+
if: github.repository_owner == 'aws'
317319
runs-on: ubuntu-latest
318320
env:
319321
DOCKER_BUILDKIT: 1
@@ -328,3 +330,35 @@ jobs:
328330
- name: Build
329331
run: |
330332
docker run -v "${{ github.workspace }}:/aws_lc_rs" alpine:3.20
333+
334+
x86_64-pc-windows-gnullvm:
335+
if: github.repository_owner == 'aws'
336+
runs-on: windows-latest
337+
steps:
338+
- name: Install NASM
339+
uses: ilammy/[email protected]
340+
- name: Checkout
341+
uses: actions/checkout@v4
342+
with:
343+
submodules: "recursive"
344+
- uses: dtolnay/rust-toolchain@master
345+
id: toolchain
346+
with:
347+
toolchain: stable
348+
target: x86_64-pc-windows-gnullvm
349+
- name: Install LLVM and Clang
350+
uses: KyleMayes/install-llvm-action@v2
351+
id: clang
352+
with:
353+
version: 17
354+
env: true
355+
- name: Build
356+
env:
357+
CC: "C:/Program Files/LLVM/bin/clang.exe"
358+
CXX: "C:/Program Files/LLVM/bin/clang++.exe"
359+
run: cargo build -p aws-lc-rs --target x86_64-pc-windows-gnullvm --features bindgen
360+
- name: Test
361+
env:
362+
CC: "C:/Program Files/LLVM/bin/clang.exe"
363+
CXX: "C:/Program Files/LLVM/bin/clang++.exe"
364+
run: cargo test -p aws-lc-rs --target x86_64-pc-windows-gnullvm --features bindgen

0 commit comments

Comments
 (0)