Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 0 additions & 9 deletions .github/workflows/ci_benchmarks_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ jobs:
runs-on: ${{ needs.prologue.outputs.windows_runner_label }}
steps:
- uses: actions/checkout@v2
- name: install required tools
if: ${{ needs.prologue.outputs.windows_runner_label == 'windows-2019' }}
run: |
iex (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${{ github.workspace }}\devtools\windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
scoop install git
scoop bucket add extras
scoop install llvm yasm
- run: |
if [[ ${{ needs.prologue.outputs.os_skip }} == run ]] && [[ ${{ needs.prologue.outputs.job_skip }} == run ]];then
devtools/ci/ci_main.sh
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/ci_integration_tests_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ jobs:
timeout-minutes: 70
steps:
- uses: actions/checkout@v2
- name: install required tools
if: ${{ needs.prologue.outputs.windows_runner_label == 'windows-2019' }}
run: |
iex (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${{ github.workspace }}\devtools\windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
scoop install git
scoop bucket add extras
scoop install llvm yasm
- run: |
if [[ ${{ needs.prologue.outputs.os_skip }} == run ]] && [[ ${{ needs.prologue.outputs.job_skip }} == run ]];then
devtools/ci/ci_main.sh
Expand Down
9 changes: 0 additions & 9 deletions .github/workflows/ci_unit_tests_windows.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,6 @@ jobs:
runs-on: ${{ needs.prologue.outputs.windows_runner_label }}
steps:
- uses: actions/checkout@v2
- name: install required tools
if: ${{ needs.prologue.outputs.windows_runner_label == 'windows-2019' }}
run: |
iex (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${{ github.workspace }}\devtools\windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
scoop install git
scoop bucket add extras
scoop install llvm yasm
- run: |
if [[ ${{ needs.prologue.outputs.os_skip }} == run ]] && [[ ${{ needs.prologue.outputs.job_skip }} == run ]];then
devtools/ci/ci_main.sh
Expand Down
10 changes: 10 additions & 0 deletions devtools/ci/ci_main.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
#!/bin/bash
set -euo pipefail
echo "RUNNER_LABEL is " $RUNNER_LABEL
if [[ $RUNNER_LABEL == "windows-2019" ]];then
echo "test"
iex (New-Object System.Net.WebClient).DownloadString('https://get.scoop.sh')
echo "$env:USERPROFILE\scoop\shims" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
echo "${{ github.workspace }}\devtools\windows" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append
scoop install git
scoop bucket add extras
scoop install llvm yasm
fi
is_self_runner=`echo $RUNNER_LABEL | awk -F '-' '{print $1}'`
clean_threshold=40000
available_space=`df -m "$GITHUB_WORKSPACE" | tail -1 | awk '{print $4}'`
Expand Down