Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfix/windows upload zerofiles #136

Merged
merged 3 commits into from
Dec 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 31 additions & 4 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,14 +78,35 @@ jobs:
- cc
- un
- iec
- iho
# - m3aawg
# - jcgm
- csa
- bipm
# - itu
- ietf
- ogc
include:
- os: ubuntu-18.04
test-flavor: m3aawg
ignore-errors: true
- os: ubuntu-18.04
test-flavor: jcgm
ignore-errors: true
- os: ubuntu-18.04
test-flavor: itu
ignore-errors: true
- os: ubuntu-18.04
test-flavor: iho
ignore-errors: true
- os: ubuntu-20.04
test-flavor: m3aawg
ignore-errors: true
- os: ubuntu-20.04
test-flavor: jcgm
ignore-errors: true
- os: ubuntu-20.04
test-flavor: itu
ignore-errors: true
- os: ubuntu-20.04
test-flavor: iho
ignore-errors: true
steps:
- uses: actions/checkout@v2

Expand All @@ -94,6 +115,12 @@ jobs:
name: metanorma-linux
path: build

- uses: actions/cache@v2
with:
path: ~/.relaton
key: relaton-linux-${{ matrix.test-flavor }}
restore-keys: relaton-linux-${{ matrix.test-flavor }}

- run: chmod +x build/metanorma

- name: Test processing for ${{ matrix.test-flavor }}
Expand Down
19 changes: 16 additions & 3 deletions .github/workflows/macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,13 +68,20 @@ jobs:
- un
- iec
- iho
# - m3aawg
# - jcgm
- csa
- bipm
# - itu
- ietf
- ogc
include:
- os: macos-11.0
test-flavor: m3aawg
ignore-errors: true
- os: macos-11.0
test-flavor: jcgm
ignore-errors: true
- os: macos-11.0
test-flavor: itu
ignore-errors: true
steps:
- uses: actions/checkout@v2

Expand All @@ -83,6 +90,12 @@ jobs:
name: metanorma-macos
path: build

- uses: actions/cache@v2
with:
path: ~/.relaton
key: relaton-macos-${{ matrix.test-flavor }}
restore-keys: relaton-macos-${{ matrix.test-flavor }}

- run: chmod a+x build/metanorma

- name: Test processing for ${{ matrix.test-flavor }}
Expand Down
23 changes: 16 additions & 7 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,26 @@ jobs:
- un
- iec
- iho
# - m3aawg
# - jcgm
- csa
- bipm
# - itu
- ietf
- ogc
# include:
# # timeout www.iso.com happens
# - test-flavor: itu
# ignore-errors: true
include:
- test-flavor: m3aawg
ignore-errors: true
- test-flavor: jcgm
ignore-errors: true
- test-flavor: itu
ignore-errors: true
steps:
- uses: actions/checkout@v2

- uses: actions/cache@v2
with:
path: ~/.relaton
key: relaton-windows-${{ matrix.test-flavor }}
restore-keys: relaton-windows-${{ matrix.test-flavor }}

- uses: actions/download-artifact@v2
with:
name: metanorma-windows
Expand All @@ -100,6 +106,9 @@ jobs:
GITHUB_CREDENTIALS: "metanorma-ci:${{ secrets.METANORMA_CI_PAT_TOKEN }}"
TEST_FLAVOR: ${{ matrix.test-flavor }}

- run: |
Get-ChildItem -Path ".\site" -Recurse -Force | Where-Object { $_.PSIsContainer -eq $false -and $_.Length -eq 0 } | Remove-Item

- uses: actions/upload-artifact@v2
with:
name: site
Expand Down