forked from intel/cloud-streaming
-
Notifications
You must be signed in to change notification settings - Fork 0
69 lines (62 loc) · 2.19 KB
/
wincg.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
name: wincg
on: [push, pull_request]
jobs:
idd:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- run: '.github\workflows\EnterDevShell.ps1 amd64'
shell: pwsh
- name: 'msbuild clean'
run: MSBuild.exe "sources\drivers\idd\IddSampleDriver.sln" -t:clean "/p:Configuration=Release;Platform=x64" -v:normal -m
- name: 'msbuild rebuild'
run: MSBuild.exe "sources\drivers\idd\IddSampleDriver.sln" -t:Rebuild "/p:Configuration=Release;Platform=x64" -v:normal -m
build:
runs-on: windows-2019
steps:
- uses: actions/checkout@v3
- run: docker build --file docker/build/windows/Dockerfile --tag build:latest .
# NOTE: this job generates partial build-deps. OWT is missing. It
# should be generated with other docker which uses build-deps produced
# here as an input. Unfortunately, due to disk space limitations for
# public github runners, we can't show OWT docker build here.
build-deps-linux:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- run: docker build --file docker/deps/windows/Dockerfile --tag build-deps-linux .
- run: |
docker run --rm -u $(id -u):$(id -g) -v $(pwd):/opt/dist2 build-deps-linux \
cp -rd /opt/dist/build-deps /opt/dist2/
meson-ninja:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: pip install meson
- run: '.github\workflows\EnterDevShell.ps1 amd64'
shell: pwsh
- name: 'Configure'
run: meson setup _build --wrap-mode=forcefallback -Dstreamer=disabled
- name: 'Build'
run: meson compile -C _build
- name: 'Install'
run: meson install -C _build
meson-msbuild:
runs-on: windows-2022
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
with:
python-version: '3.x'
- run: pip install meson
- run: '.github\workflows\EnterDevShell.ps1 amd64'
shell: pwsh
- name: 'Configure'
run: meson setup _build --backend=vs --wrap-mode=forcefallback -Dstreamer=disabled
- name: 'Build'
run: meson compile -C _build
- name: 'Install'
run: meson install -C _build