Skip to content

Commit 4633fd7

Browse files
committed
Implement windows support
1 parent 100d5a5 commit 4633fd7

File tree

28 files changed

+1451
-122
lines changed

28 files changed

+1451
-122
lines changed

.github/workflows/rust.yml

Lines changed: 33 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,18 +38,18 @@ jobs:
3838
matrix:
3939
os:
4040
- 'ubuntu-latest'
41-
- 'macos-latest'
41+
#- 'macos-latest'
4242
rust-target:
43-
- 'x86_64-unknown-linux-gnu'
43+
#- 'x86_64-unknown-linux-gnu'
4444
- 'x86_64-unknown-linux-musl'
4545
cgroups:
46-
- 'cgroup-v1'
46+
#- 'cgroup-v1'
4747
- 'cgroup-v2'
4848
runs-on: ${{ matrix.os }}
4949
steps:
5050
- uses: actions/checkout@v2
5151
- uses: actions-rs/toolchain@v1.0.6
52-
with:
52+
with:
5353
toolchain: stable
5454
override: true
5555
- name: Test
@@ -70,6 +70,35 @@ jobs:
7070
path: /tmp/logs
7171
name: tests-trace
7272

73+
tests-windows:
74+
strategy:
75+
matrix:
76+
rust-target:
77+
- 'x86_64-pc-windows-gnu'
78+
- 'x86_64-pc-windows-msvc'
79+
runs-on: windows-latest
80+
steps:
81+
- uses: actions/checkout@v2
82+
- uses: actions-rs/toolchain@v1.0.6
83+
with:
84+
toolchain: stable
85+
override: true
86+
- name: Test
87+
run: powershell ci/windows.ps1
88+
timeout-minutes: 5
89+
env:
90+
CI_TARGET: ${{ matrix.rust-target }}
91+
- name: Collect logs
92+
if: always()
93+
run: |
94+
mkdir /tmp/logs
95+
cp ./strace* /tmp/logs
96+
- uses: actions/upload-artifact@v1
97+
if: always()
98+
with:
99+
path: /tmp/logs
100+
name: tests-trace
101+
73102
nightly-checks:
74103
runs-on: ubuntu-latest
75104
steps:

Cargo.lock

Lines changed: 208 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)