From 4b8cb94311f1f24dce2fb65012fa46bfd3f7210e Mon Sep 17 00:00:00 2001 From: peefy Date: Thu, 14 Sep 2023 17:35:50 +0800 Subject: [PATCH] rr --- .github/workflows/macos_test.yaml | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/.github/workflows/macos_test.yaml b/.github/workflows/macos_test.yaml index b7aea8238..8919a5ca4 100644 --- a/.github/workflows/macos_test.yaml +++ b/.github/workflows/macos_test.yaml @@ -5,7 +5,7 @@ jobs: # Ref: https://github.com/actions/runner-images/tree/main/images/macos strategy: matrix: - os: [macos-11, macos-12] + os: [macos-11] runs-on: ${{ matrix.os }} steps: - name: Git checkout @@ -37,26 +37,12 @@ jobs: toolchain: 1.67 override: true components: clippy, rustfmt - - name: Code format check - working-directory: ./kclvm - run: cargo fmt --check - shell: bash - - name: Grammar test - working-directory: ./kclvm - run: export PATH=$PATH:$PWD/../_build/dist/Darwin/kclvm/bin:/usr/local/opt/llvm@12/bin && make install-rustc-wasm && make && make test-grammar - shell: bash - - name: Runtime test - working-directory: ./kclvm - run: export PATH=$PATH:$PWD/../_build/dist/Darwin/kclvm/bin:/usr/local/opt/llvm@12/bin && make install-rustc-wasm && make && make test-runtime - shell: bash + - name: Unit test working-directory: ./kclvm run: export PATH=$PATH:$PWD/../_build/dist/Darwin/kclvm/bin:/usr/local/opt/llvm@12/bin && make install-rustc-wasm && make && make codecov-lcov shell: bash - - name: Konfig test - working-directory: ./kclvm - run: export PATH=$PATH:$PWD/../_build/dist/Darwin/kclvm/bin:/usr/local/opt/llvm@12/bin && make install-rustc-wasm && make && make test-konfig - shell: bash + - uses: actions/upload-artifact@v3 with: