-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.24 KB
/
windows.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
# Auto-generated by Cimas: Do not edit it manually!
# See https://github.com/metanorma/cimas
name: windows
on:
push:
branches: [ master ]
pull_request:
paths-ignore:
- .github/workflows/test.yml
- .github/workflows/macos.yml
- .github/workflows/ubuntu.yml
- .github/workflows/docker.yml
- Makefile
jobs:
test-windows:
name: Test on Windows
runs-on: windows-latest
steps:
- uses: actions/checkout@master
- name: Checkout submodules
shell: bash
run: |
auth_header="$(git config --local --get http.https://github.com/.extraheader)"
git submodule sync --recursive
git -c "http.extraheader=$auth_header" -c protocol.version=2 submodule update --init --force --recursive --depth=1
- name: Cache xml2rfc
id: cache-xml2rfc
uses: actions/cache@v1
with:
path: ~/.cache/xml2rfc
key: xml2rfc
restore-key: xml2rfc
- name: Install Metanorma & yq
shell: pwsh
run: |
cinst --no-progress -y metanorma yq
- name: Install bundler
run: |
gem install bundler
- name: Metanorma compile
run: |
make -f Makefile.win clean all SHELL=cmd