Skip to content

Commit

Permalink
Update build-windows.yml
Browse files Browse the repository at this point in the history
Putting 3rdparty one step down, i.e. in the lib folder.
  • Loading branch information
razterizer authored Sep 19, 2024
1 parent 53c8f9f commit 98867eb
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/build-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@ jobs:
# Step 3: Create 3rdparty directories in D:\a\DungGine
- name: Create 3rdparty directories
run: |
New-Item -ItemType Directory -Force -Path $env:GITHUB_WORKSPACE\..\3rdparty\include\OpenAL_Soft
New-Item -ItemType Directory -Force -Path $env:GITHUB_WORKSPACE\..\3rdparty\lib
New-Item -ItemType Directory -Force -Path $env:GITHUB_WORKSPACE\..\lib\3rdparty\include\OpenAL_Soft
New-Item -ItemType Directory -Force -Path $env:GITHUB_WORKSPACE\..\lib\3rdparty\lib
# Step 4: Download OpenAL Soft to D:\a\DungGine
- name: Download OpenAL Soft
Expand All @@ -56,18 +56,18 @@ jobs:
- name: Copy OpenAL Soft files
run: |
# Copy OpenAL Soft headers
Copy-Item -Path $env:GITHUB_WORKSPACE\..\openal-soft-1.23.1-bin\include\AL\* -Destination $env:GITHUB_WORKSPACE\..\3rdparty\include\OpenAL_Soft\ -Force
Copy-Item -Path $env:GITHUB_WORKSPACE\..\openal-soft-1.23.1-bin\include\AL\* -Destination $env:GITHUB_WORKSPACE\..\lib\3rdparty\include\OpenAL_Soft\ -Force
# Copy OpenAL32.lib (assuming it's in the libs folder)
Copy-Item -Path $env:GITHUB_WORKSPACE\..\openal-soft-1.23.1-bin\libs\Win32\OpenAL32.lib -Destination $env:GITHUB_WORKSPACE\..\3rdparty\lib\ -Force
Copy-Item -Path $env:GITHUB_WORKSPACE\..\openal-soft-1.23.1-bin\libs\Win32\OpenAL32.lib -Destination $env:GITHUB_WORKSPACE\..\lib\3rdparty\lib\ -Force
# Step 6b: List contents of 3rdparty includes.
- name: List 3rdparty/include files
# run: ls $env:GITHUB_WORKSPACE\..\3rpdarty\include\OpenAL_Soft
run: |
ls $env:GITHUB_WORKSPACE
ls $env:GITHUB_WORKSPACE/..
ls $env:GITHUB_WORKSPACE/../3rdparty/include
ls $env:GITHUB_WORKSPACE/../3rdparty/include/OpenAL_Soft
ls $env:GITHUB_WORKSPACE/../lib/3rdparty/include
ls $env:GITHUB_WORKSPACE/../lib/3rdparty/include/OpenAL_Soft
# # Step 3: Install OpenAL
# - name: Install OpenAL
Expand Down

0 comments on commit 98867eb

Please sign in to comment.