From 1ba4e621c1caabea1b4204f246b8f54639704708 Mon Sep 17 00:00:00 2001 From: mohanson Date: Tue, 19 Sep 2023 11:10:47 +0800 Subject: [PATCH] Using github actions to rewrite: WinCI --- .github/workflows/develop.yml | 18 ++++++++++++++++++ azure-pipelines.yml | 8 -------- 2 files changed, 18 insertions(+), 8 deletions(-) diff --git a/.github/workflows/develop.yml b/.github/workflows/develop.yml index 5da879c3..2dff9316 100644 --- a/.github/workflows/develop.yml +++ b/.github/workflows/develop.yml @@ -34,3 +34,21 @@ jobs: - uses: actions/checkout@v3 - name: Run ci-asm run: make ci-asm + + windows: + runs-on: windows-latest + steps: + - uses: actions/checkout@v3 + - name: Dep + shell: pwsh + # https://github.com/ScoopInstaller/Install#for-admin + run: | + iex "& {$(irm get.scoop.sh)} -RunAsAdmin" + scoop install llvm + scoop install yasm + ls ~\scoop\shims + ls ~\scoop\apps\yasm\current + clang --version + yasm --version + - name: Run ci-asm + run: make ci-asm diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 9aaa7758..f6e74b50 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -166,11 +166,3 @@ jobs: bash <(curl -s https://codecov.io/bash) && echo "Uploaded code coverage" displayName: Run code coverage - - - job: WinCI - pool: - vmImage: 'windows-2019' - steps: - - template: devtools/azure/windows-dependencies.yml - - script: make ci-asm - displayName: Run unit tests