Skip to content

Commit

Permalink
remove docs from windows
Browse files Browse the repository at this point in the history
  • Loading branch information
csett86 authored Aug 4, 2023
1 parent c78c4c2 commit 6452149
Showing 1 changed file with 9 additions and 29 deletions.
38 changes: 9 additions & 29 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,12 @@ jobs:
- name: package
run: |
cd xerces-c-3.2.4/dist/usr/local
zip -r ../../xerces-c-3.2.4-maxos-11.zip *
rm -rf bin
zip -r ../../xerces-c-3.2.4-maxos-11-universal.zip *
- uses: actions/upload-artifact@v3
with:
name: xerces-c-3.2.4-maxos-11.zip
path: xerces-c-3.2.4/dist/xerces-c-3.2.4-maxos-11.zip
name: xerces-c-3.2.4-maxos-11-universal.zip
path: xerces-c-3.2.4/dist/xerces-c-3.2.4-maxos-11.universal.zip
if-no-files-found: error

build-linux:
Expand All @@ -54,38 +55,13 @@ jobs:
- name: package
run: |
cd xerces-c-3.2.4/dist/usr/local
rm -rf bin
zip -r ../../xerces-c-3.2.4-linux-x64.zip *
- uses: actions/upload-artifact@v3
with:
name: xerces-c-3.2.4-linux-x64.zip
path: xerces-c-3.2.4/dist/xerces-c-3.2.4-linux-x64.zip
if-no-files-found: error
build-linux-cmake:
name: Build linux x64 with cmake
runs-on: ubuntu-20.04
steps:
- name: download and extract
run: |
curl --output xerces-c-3.2.4.tar.gz https://dlcdn.apache.org/xerces/c/3/sources/xerces-c-3.2.4.tar.gz
tar xf xerces-c-3.2.4.tar.gz
- name: build
run: |
cd xerces-c-3.2.4
cmake -G "Unix Makefiles" -Dnetwork:BOOL=OFF -Dtranscoder=iconv -Dxmlch-type=char16_t -Dmutex-manager=standard -DCMAKE_INSTALL_PREFIX=/opt/xerces-c
cmake --build . --config Release
sudo cmake --build . --config Release --target install
- name: infos
run: |
ls -l /opt/xerces-c/lib
ldd /opt/xerces-c/lib/libxerces-c-3.2.so
- name: package
run: |
zip -r xerces-c-3.2.4-linux-cmake-x64.zip /opt/xerces-c/
- uses: actions/upload-artifact@v3
with:
name: xerces-c-3.2.4-linux-cmake-x64.zip
path: xerces-c-3.2.4-linux-cmake-x64.zip
if-no-files-found: error
build-msvc:
name: Build Windows msvc 2019 x64
runs-on: windows-2019
Expand All @@ -102,6 +78,8 @@ jobs:
cmake --build . --config Release --target install
- name: package
run: |
rmdir C:\"Program Files (x86)"\xerces-c\share
rmdir C:\"Program Files (x86)"\xerces-c\bin
C:\"Program Files"\7-Zip\7z.exe a xerces-c-3.2.4-windows-msvc-2019-x64.zip C:\"Program Files (x86)"\xerces-c\
- uses: actions/upload-artifact@v3
with:
Expand All @@ -124,6 +102,8 @@ jobs:
cmake --build . --config Release --target install
- name: package
run: |
rmdir C:\"Program Files (x86)"\xerces-c\share
rmdir C:\"Program Files (x86)"\xerces-c\bin
C:\"Program Files"\7-Zip\7z.exe a xerces-c-3.2.4-windows-mingw-x64.zip C:\"Program Files (x86)"\xerces-c\
- uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit 6452149

Please sign in to comment.