Skip to content

Commit

Permalink
fix: more windows tests
Browse files Browse the repository at this point in the history
  • Loading branch information
chaaz committed Jan 30, 2024
1 parent ac8d886 commit 08d7847
Show file tree
Hide file tree
Showing 2 changed files with 504 additions and 465 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ env:
GITHUB_USER: "${{ github.actor }}"
jobs:
versio-checks:
runs-on: windows-latest
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'skip ci')"
steps:
- name: Checkout code
Expand All @@ -17,6 +17,8 @@ jobs:
uses: chaaz/versio-actions/[email protected]
- name: Fetch history
run: git fetch --unshallow
- name: Check projects
run: versio check
- name: Output plan
run: versio plan
build:
Expand All @@ -35,14 +37,13 @@ jobs:
uses: actions/checkout@v3
with:
ref: main
- name: Install winget
if: "matrix.os == 'windows-latest'"
uses: Cyberboss/install-winget@v1
- name: Install Windows dependencies
if: "matrix.os == 'windows-latest'"
# echo "C:\msys64\mingw32\bin" >> $GITHUB_PATH
run: |
$env:PATH = "C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\ProgramData\chocolatey\bin"
[Environment]::SetEnvironmentVariable("Path", $env:PATH, "Machine")
choco install -y Gpg4win
echo "C:\Program Files (x86)\Gpg4win\..\GnuPG\bin" >> $env:GITHUB_PATH
winget install --id GnuPG.Gpg4win --disable-interactivity --accept-source-agreements
- name: Get Windows cargo stable
if: "matrix.os == 'windows-latest'"
uses: actions-rs/toolchain@v1
Expand Down
Loading

0 comments on commit 08d7847

Please sign in to comment.