Skip to content

Commit

Permalink
adjust path for CI
Browse files Browse the repository at this point in the history
  • Loading branch information
infeo committed Nov 22, 2024
1 parent b62d3dd commit dfa9649
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ jobs:
distribution: 'temurin'
java-version: 22
cache: 'maven'
- name: Install correct make
run: choco install make
- name: Build and Test
id: buildAndTest
run: mvn clean install
run: mvn clean install "-DvcInstallPath=C:\Program Files\Microsoft Visual Studio\2022\Enterprise"
shell: pwsh
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@
</property>
</activation>
<properties>
<windowsDevToolsScript>C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Auxiliary\Build\vcvars64.bat</windowsDevToolsScript>
<vcInstallPath>C:\Program Files\Microsoft Visual Studio\2022\Community\</vcInstallPath>
</properties>
<build>
<plugins>
Expand All @@ -318,7 +318,7 @@
</environmentVariables>
<arguments>
<argument>/c</argument>
<argument>"${windowsDevToolsScript}" &amp;&amp; make install</argument>
<argument>"${vcInstallPath}\VC\Auxiliary\Build\vcvars64.bat" &amp;&amp; make install</argument>
</arguments>
</configuration>
</execution>
Expand Down

0 comments on commit dfa9649

Please sign in to comment.