Skip to content

Commit

Permalink
Merge pull request #136 from metanorma/bugfix/windows-upload-zerofiles
Browse files Browse the repository at this point in the history
Bugfix/windows upload zerofiles
  • Loading branch information
CAMOBAP authored Dec 13, 2021
2 parents 0493fb0 + 7394dbd commit 931527d
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 14 deletions.
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

0 comments on commit 931527d

Please sign in to comment.