Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
SyMind committed Nov 14, 2024
1 parent 629a69e commit 4d88c3f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 9 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ jobs:
name: Get Runner Labels
uses: ./.github/workflows/get-runner-labels.yml

sleep:
name: Sleep
needs: [get-runner-labels]
runs-on: ${{ fromJSON(needs.get-runner-labels.outputs.WINDOWS_RUNNER_LABELS) }}
steps:
- name: Sleep
shell: bash
run: sleep 10000000000

check-changed:
runs-on: ubuntu-latest
name: Check Source Changed
Expand Down
12 changes: 3 additions & 9 deletions .github/workflows/reusable-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -173,21 +173,15 @@ jobs:

- name: Build i686-pc-windows-msvc
if: ${{ inputs.target == 'i686-pc-windows-msvc' && steps.check_cache.outputs.files_exists != 'true' && !inputs.skipable }}
run: |
export all_proxy=$http_proxy # Using all_proxy for updating crates.io index
echo "$all_proxy" && RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }}
run: RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }}

- name: Build x86_64-pc-windows-msvc
if: ${{ inputs.target == 'x86_64-pc-windows-msvc' && steps.check_cache.outputs.files_exists != 'true' && !inputs.skipable }}
run: |
export all_proxy=$http_proxy
echo "$all_proxy" && RUST_TARGET=${{ inputs.target }} pnpm build:binding:${{ inputs.profile }}
run: RUST_TARGET=${{ inputs.target }} pnpm build:binding:${{ inputs.profile }}

- name: Build aarch64-pc-windows-msvc
if: ${{ inputs.target == 'aarch64-pc-windows-msvc' && steps.check_cache.outputs.files_exists != 'true' && !inputs.skipable }}
run: |
export all_proxy=$http_proxy
echo "$all_proxy" && RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }}
run: RUST_TARGET=${{ inputs.target }} DISABLE_PLUGIN=1 pnpm build:binding:${{ inputs.profile }}

# Mac
- name: Build x86_64-apple-darwin
Expand Down

0 comments on commit 4d88c3f

Please sign in to comment.