Skip to content

Commit

Permalink
Adding environment setup per step...
Browse files Browse the repository at this point in the history
  • Loading branch information
ktakashi committed Dec 6, 2023
1 parent c8cb247 commit 1e3d83c
Showing 1 changed file with 14 additions and 4 deletions.
18 changes: 14 additions & 4 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,12 +64,22 @@ jobs:
cmake . -G "NMake Makefiles"
- run:
name: Build
command: nmake
shell: cmd.exe
command: |
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
if ($_ -match "^(.*?)=(.*)$") {
Set-Content "env:\$($matches[1])" $matches[2]
}
}
& nmake
- run:
name: Test
command: ctest -V -LE json
shell: cmd.exe
command: |
Get-Content "$env:temp\vcvars.txt" | Foreach-Object {
if ($_ -match "^(.*?)=(.*)$") {
Set-Content "env:\$($matches[1])" $matches[2]
}
}
& ctest -V -LE json
workflows:
ubuntu-build:
Expand Down

0 comments on commit 1e3d83c

Please sign in to comment.