Skip to content

Commit

Permalink
Don't use external github action step for vcvars
Browse files Browse the repository at this point in the history
  • Loading branch information
bakpakin committed Sep 24, 2024
1 parent 69e57dc commit fa560ff
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,15 @@ jobs:
- name: Install Janet
shell: cmd
run: msiexec /quiet /i janet.msi ALLUSERS=1 /log install.log && type install.log && set > %GITHUB_ENV%
- uses: ilammy/msvc-dev-cmd@v1
- name: Build Spork
shell: cmd
run: |
cd spork & janet -l ./bundle -e "(do (setdyn :verbose true) (build))"
refreshenv & "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 & cd spork & janet -l ./bundle -e "(do (setdyn :verbose true) (build))"
- name: Test Install
shell: cmd
run: |
janet -e "(bundle/install `spork`)"
refreshenv & janet -e "(bundle/install `spork`)"
- name: Run Tests
shell: cmd
run: |
cd spork & janet -l ./bundle -e "(test)"
refreshenv & cd spork & janet -l ./bundle -e "(test)"

0 comments on commit fa560ff

Please sign in to comment.