Skip to content

Commit

Permalink
update msvc cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
xpenatan committed Aug 18, 2024
1 parent 128fc86 commit 8bf68ee
Showing 1 changed file with 15 additions and 19 deletions.
34 changes: 15 additions & 19 deletions .github/workflows/build_and_upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,25 +38,21 @@ jobs:
- uses: TheMrMilchmann/setup-msvc-dev@v3
with:
arch: x64
export-path-to-vcvarsall: $env:PATH;

# - name: Append the directory of 'vcvarsall.bat' to PATH environment variable
# uses: myci-actions/export-env-var-powershell@1
# with:
# name: PATH
# value: $env:PATH;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build

- name: Test msvc
run: vcvarsall

# - name: Build project
# run: ./gradlew build_project_windows64
#
# - name: Upload natives
# uses: actions/upload-artifact@v4
# with:
# name: windows-natives
# path: ./example/lib/lib-build/build/c++/libs/

- name: Append the directory of 'vcvarsall.bat' to PATH environment variable
uses: myci-actions/export-env-var-powershell@1
with:
name: PATH
value: $env:PATH;C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build

- name: Build project
run: ./gradlew build_project_windows64

- name: Upload natives
uses: actions/upload-artifact@v4
with:
name: windows-natives
path: ./example/lib/lib-build/build/c++/libs/

build_linux:
name: Build Linux
Expand Down

0 comments on commit 8bf68ee

Please sign in to comment.