From dafb776c631bb5f8bda1705fd9c59cc687946ecf Mon Sep 17 00:00:00 2001 From: Per Larsen Date: Wed, 10 Jul 2024 15:14:39 -0700 Subject: [PATCH] CI: Add bare-bones Windows workflow --- .github/workflows/build-and-test-x86.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/.github/workflows/build-and-test-x86.yml b/.github/workflows/build-and-test-x86.yml index 3bd8b8e9f..69f0bf339 100644 --- a/.github/workflows/build-and-test-x86.yml +++ b/.github/workflows/build-and-test-x86.yml @@ -128,3 +128,24 @@ jobs: name: meson-test-logs-x86_64-apple-darwin path: | ${{ github.workspace }}/build/meson-logs/testlog-*.txt + test-on-windows-2022: + runs-on: windows-2022 + steps: + - name: install prerequisites + run: | + choco install nasm + shell: pwsh + - name: add nasm to path + run: | + $nasmPath = "$($env:SystemDrive)\Program Files\NASM" + echo $nasmPath + dir $nasmPath + echo "$nasmPath" | Out-File -FilePath $env:GITHUB_PATH -Encoding utf8 -Append + - name: check nasm installation + run: nasm -v + - name: git checkout + uses: actions/checkout@v4 + with: + fetch-depth: 1 + - name: cargo build + run: cargo build --release \ No newline at end of file