-
-
Notifications
You must be signed in to change notification settings - Fork 47
48 lines (46 loc) · 1.15 KB
/
ci.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
name: Windows Test
on:
push:
jobs:
Windows:
strategy:
fail-fast: false
runs-on: windows-latest
env:
OS_NAME: windows
PLATFORM_TARGET: native_dyn
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup python 3.8
uses: actions/setup-python@v3
with:
python-version: '3.8'
- name: Install packages
run: |
choco.exe install pkgconfiglite ninja
- name: Install python modules
shell: bash
run: |
pip3 install meson pytest requests distro
pip3 install --no-deps $GITHUB_WORKSPACE
- name: Ensure base deps
shell: bash
run: |
cd $HOME
$GITHUB_WORKSPACE/.github/scripts/ensure_base_deps.py
- name: print log
shell: bash
if: failure()
run: |
cd $HOME/BUILD_native_dyn/xapian-core-1.4.23
cat config.log
- name: Compile all deps
shell: bash
run: |
cd $HOME
$GITHUB_WORKSPACE/.github/scripts/compile_all_deps.py
- name: Upload failure logs
shell: bash
if: failure()
run: $GITHUB_WORKSPACE/.github/scripts/upload_failure_logs.sh