Skip to content

Commit

Permalink
Move Windows CI jobs from CirrusCI to GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanTAllen committed Aug 8, 2023
1 parent 0973cd9 commit 218fc5d
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -124,3 +124,41 @@ jobs:
run: make build config=release
- name: Test with Release Runtime
run: make test-ci config=release usedebugger='${{ matrix.debugger }}'

x86_64-windows:
runs-on: windows-2022
defaults:
run:
shell: powershell

name: x86-64 Windows MSVC
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Restore Libs Cache
id: restore-libs
uses: actions/cache/restore@v3
with:
path: build/libs
key: libs-${{ matrix.image }}-${{ hashFiles('make.ps1', 'CMakeLists.txt', 'libs/CMakeLists.txt') }}
- name: Build Libs
if: steps.restore-libs.outputs.cache-hit != 'true'
run: .\make.ps1 -Command libs -Generator "Visual Studio 17 2022"
- name: Save Libs Cache
if: steps.restore-libs.outputs.cache-hit != 'true'
uses: actions/cache/save@v3
with:
path: build/libs
key: libs-${{ matrix.image }}-${{ hashFiles('make.ps1', 'CMakeLists.txt', 'libs/CMakeLists.txt') }}
- name: Configure Debug Runtime
run: .\make.ps1 -Command configure -Config Debug -Generator "Visual Studio 17 2022"
- name: Build Debug Runtime
run: .\make.ps1 -Command build -Config Debug
- name: Test with Debug Runtime
run: .\make.ps1 -Command test -Config Debug -Uselldb yes
- name: Configure Release Runtime
run: .\make.ps1 -Command configure -Config Release
- name: Build Release Runtime
run: .\make.ps1 -Command build -Config Release
- name: Test with Release Runtime
run: .\make.ps1 -Command test -Config Release -Uselldb yes

0 comments on commit 218fc5d

Please sign in to comment.