From b9ac08e7dfbf3cd2bb2e0f5a6958d64ea546a58e Mon Sep 17 00:00:00 2001 From: Johnny Date: Thu, 13 Feb 2025 04:12:02 +0100 Subject: [PATCH 1/3] Update ci.yml --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f34964c..4b4022f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,7 +64,7 @@ jobs: ##################################### - name: Configure run: | - cmake -B build -S . -GNinja -DCMAKE_BUILD_TYPE=Release + cmake -B build -S . -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF shell: bash ##################################### From 95a2fffa8f79d1b858f865a87974c190ceec7dd5 Mon Sep 17 00:00:00 2001 From: Johnny Date: Thu, 13 Feb 2025 20:09:46 +0100 Subject: [PATCH 2/3] Update ci.yml --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4b4022f..8202aea 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -64,14 +64,15 @@ jobs: ##################################### - name: Configure run: | - cmake -B build -S . -GNinja -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF + cmake -B build -S . -GNinja shell: bash ##################################### # Build the Superbuild ##################################### - name: Build - run: cmake --build build --config Release + run: ninja -C build + shell: bash ##################################### # [Optional] Run Tests From e47ca7e7083357b1804ce5077eb0049d8d2ca694 Mon Sep 17 00:00:00 2001 From: Johnny Date: Thu, 13 Feb 2025 21:20:11 +0100 Subject: [PATCH 3/3] Update ci.yml --- .github/workflows/ci.yml | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8202aea..a37c82d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -89,20 +89,21 @@ jobs: if: startsWith(matrix.os, 'windows') shell: cmd run: | - cd build\castxml\bin - 7z a ..\..\castxml-${{ matrix.os }}-${{ matrix.arch }}.zip castxml.exe + cd build + 7z a castxml-${{ matrix.os }}-${{ matrix.arch }}.zip castxml + move castxml-${{ matrix.os }}-${{ matrix.arch }}.zip .. - name: Create Artifact (Non-Windows) if: startsWith(matrix.os, 'ubuntu') || startsWith(matrix.os, 'macos') shell: bash run: | - cd build/castxml/bin - tar czvf ../../castxml-${{ matrix.os }}-${{ matrix.arch }}.tar.gz castxml + cd build + tar cvf castxml-${{ matrix.os }}-${{ matrix.arch }}.tar castxml + gzip -9 castxml-${{ matrix.os }}-${{ matrix.arch }}.tar + mv castxml-${{ matrix.os }}-${{ matrix.arch }}.tar.gz .. - name: Upload Artifact uses: actions/upload-artifact@v4 with: name: castxml-${{ matrix.os }}-${{ matrix.arch }} - path: | - build/castxml-*.tar.gz - build/castxml-*.zip + path: ./castxml-${{ matrix.os }}-${{ matrix.arch }}.*