From 6452149c09216355380aeaad2461144b596a4e9e Mon Sep 17 00:00:00 2001 From: Christoph Settgast Date: Sat, 5 Aug 2023 00:11:01 +0200 Subject: [PATCH] remove docs from windows --- .github/workflows/ci.yml | 38 +++++++++----------------------------- 1 file changed, 9 insertions(+), 29 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cc5b0d2..8f1243e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: @@ -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 @@ -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: @@ -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: