From 3b938ceb6a63a0fef0e02cae049e7401501e11e4 Mon Sep 17 00:00:00 2001 From: i0gan <42000708+i0gan@users.noreply.github.com> Date: Mon, 18 Mar 2024 23:56:44 +0800 Subject: [PATCH] Revert "Update ci.yml" This reverts commit 0f9663dc842d51b9cf776ebb1f86f20ca4be310d. --- .github/workflows/ci.yml | 46 +++++++++++++++++++--------------------- 1 file changed, 22 insertions(+), 24 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c39f0ea4..638e7e8a 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -10,52 +10,50 @@ jobs: os: [ubuntu-latest, macOS-latest, windows-latest] steps: - uses: actions/checkout@v3 - - name: Building squick third party library - if: matrix.os == 'ubuntu-latest' - run: | - cd tools && ./build_third_party.sh - if: matrix.os == 'macOS-latest' + - name: Building squick third party library for linux and macos + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' run: | cd tools && ./build_third_party.sh + + - name: Building squick third party library for windows if: matrix.os == 'windows-latest' run: | cd tools .\clone_thirdparty_build.bat - - - name: Building sqkctl tools - if: matrix.os == 'ubuntu-latest' - run: | - cd tools && ./build_sqkctl.sh - if: matrix.os == 'macOS-latest' + + - name: Building sqkctl tools for linux and macos + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' run: | cd tools && ./build_sqkctl.sh + + - name: Building sqkctl tools for windows if: matrix.os == 'windows-latest' run: | cd tools .\build_sqkctl.bat - - - name: Building squick project - if: matrix.os == 'ubuntu-latest' - run: | - cd tools && ./build_squick.sh - if: matrix.os == 'macOS-latest' + + - name: Building squick project for linux and macos + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' run: | cd tools && ./build_squick.sh + + - name: Building squick project for windows if: matrix.os == 'windows-latest' run: | cd tools .\build_squick.bat - - - name: Geneating deploy files - if: matrix.os == 'ubuntu-latest' + + - name: Geneating deploy files for linux and macos + if: matrix.os == 'ubuntu-latest' || matrix.os == 'macOS-latest' run: | cd tools && ./generate_deploy.sh cd ../deploy tree - if: matrix.os == 'macOS-latest' - run: | - cd tools && ./generate_deploy.sh + + - name: Geneating deploy files for windows if: matrix.os == 'windows-latest' run: | cd tools - .\generate_deploy.bat \ No newline at end of file + .\generate_deploy.bat + cd ..\deploy + tree \ No newline at end of file