diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 4f9d5a82e..b2ea40aa0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -42,7 +42,7 @@ jobs: if: ${{ inputs.type == 'demo' || contains(github.event.pull_request.labels.*.name, 'ci:dep-update') }} strategy: matrix: - arch: [ ia32, x64 ] + arch: [ ia32 ] runs-on: windows-latest env: npm_config_arch: ${{ matrix.arch }} @@ -76,41 +76,41 @@ jobs: example/dist/Agora-Electron-API-Example-*-win.zip if-no-files-found: error - build-mac: - if: ${{ inputs.type == 'demo' || contains(github.event.pull_request.labels.*.name, 'ci:dep-update') }} - runs-on: macos-latest - steps: - - uses: actions/checkout@v4 + # build-mac: + # if: ${{ inputs.type == 'demo' || contains(github.event.pull_request.labels.*.name, 'ci:dep-update') }} + # runs-on: macos-latest + # steps: + # - uses: actions/checkout@v4 - - name: Setup - uses: ./.github/actions/setup + # - name: Setup + # uses: ./.github/actions/setup - - name: Build SDK - run: | - yarn totalBuild - yarn zipBuild - yarn link + # - name: Build SDK + # run: | + # yarn totalBuild + # yarn zipBuild + # yarn link - - name: Build Example - run: | - yarn install - yarn link agora-electron-sdk - yarn dist:mac - yarn unlink agora-electron-sdk - env: - USE_HARD_LINKS: false - working-directory: example - - - uses: actions/upload-artifact@v3 - with: - name: AgoraRtcNgExample-mac - path: | - example/dist/Agora-Electron-API-Example-*-mac.zip - if-no-files-found: error - - notification: - runs-on: ubuntu-latest - needs: [ build-windows, build-mac ] - steps: - - run: | - curl -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${{ secrets.WECHAT_KEY }}" -d '{"msgtype":"text","text":{"content":"Electron Example:\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\nDownload Link:\nhttps://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}"}}' + # - name: Build Example + # run: | + # yarn install + # yarn link agora-electron-sdk + # yarn dist:mac + # yarn unlink agora-electron-sdk + # env: + # USE_HARD_LINKS: false + # working-directory: example + + # - uses: actions/upload-artifact@v3 + # with: + # name: AgoraRtcNgExample-mac + # path: | + # example/dist/Agora-Electron-API-Example-*-mac.zip + # if-no-files-found: error + + # notification: + # runs-on: ubuntu-latest + # needs: [ build-windows, build-mac ] + # steps: + # - run: | + # curl -X POST "https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=${{ secrets.WECHAT_KEY }}" -d '{"msgtype":"text","text":{"content":"Electron Example:\n${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}\nDownload Link:\nhttps://nightly.link/${{ github.repository }}/actions/runs/${{ github.run_id }}"}}' diff --git a/scripts/downloadPrebuild.js b/scripts/downloadPrebuild.js index 3e6bcb379..ab60e1d26 100644 --- a/scripts/downloadPrebuild.js +++ b/scripts/downloadPrebuild.js @@ -93,7 +93,7 @@ module.exports = async () => { }, }); - if (no_symbol) { - await removeFileByFilter(); - } + // if (no_symbol) { + // await removeFileByFilter(); + // } }; diff --git a/scripts/getConfig.js b/scripts/getConfig.js index 924ed148f..2589a0b92 100644 --- a/scripts/getConfig.js +++ b/scripts/getConfig.js @@ -21,7 +21,7 @@ const getArgvFromPkgJson = () => { debug = false, silent = false, arch = process.arch, - no_symbol = false, + no_symbol = true, } = agora_electron; return {