Skip to content

Commit a9ee879

Browse files
committed
add CI for Cygwin
1 parent 9f66301 commit a9ee879

2 files changed

Lines changed: 54 additions & 28 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# spell-checker:ignore wasip
2+
name: low-priotiry-targets
3+
4+
on:
5+
pull_request:
6+
push:
7+
branches:
8+
- main
9+
10+
permissions:
11+
contents: read
12+
13+
# End the current execution if there is a new changeset in the PR.
14+
concurrency:
15+
group: ${{ github.workflow }}-${{ github.ref }}
16+
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}
17+
18+
jobs:
19+
wasi:
20+
name: check wasi
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v6
24+
- uses: dtolnay/rust-toolchain@nightly
25+
with:
26+
targets: wasm32-wasip1
27+
- name: check
28+
run: cargo check --target wasm32-wasip1
29+
30+
windows:
31+
name: check windows
32+
runs-on: windows-latest
33+
steps:
34+
- uses: actions/checkout@v6
35+
- uses: dtolnay/rust-toolchain@nightly
36+
with:
37+
targets: wasm32-wasip1
38+
- name: check
39+
run: cargo check
40+
41+
cygwin:
42+
name: check cygwin
43+
runs-on: windows-latest
44+
steps:
45+
- uses: actions/checkout@v6
46+
- name: setup toolchain
47+
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
48+
run: pacman -Sy --noconfirm --needed rust
49+
- name: check
50+
shell: 'C:\msys64\usr\bin\bash.exe --login -eo pipefail {0}'
51+
env:
52+
CHERE_INVOKING: 1
53+
RUSTC_BOOTSTRAP: 1
54+
run: cargo check --target x86_64-pc-cygwin

.github/workflows/wasi.yml

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

0 commit comments

Comments
 (0)