Skip to content

Commit

Permalink
check exports in dll
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed Mar 8, 2024
1 parent 912bb15 commit e4dce6f
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@ jobs:
if: ${{ matrix.toolchain == 'msvc' }}
uses: ilammy/msvc-dev-cmd@v1

- name: install Dependencies analyzer
if: ${{ matrix.toolchain == 'msvc' }}
run: |
$url = 'https://github.com/lucasg/Dependencies/archive/refs/tags/v1.11.1.zip'
$dest = Join-Path -Path $PWD -ChildPath "dependencies"
# Download and extract Dependencies
New-Item -ItemType Directory -Path "$dest"
Invoke-WebRequest -Uri $url -OutFile "$dest\dependencies.zip"
Expand-Archive -Path "$dest\dependencies.zip" -DestinationPath "$dest"
# Add Dependencies to PATH
$env:PATH += ";$dest"
# Verify Dependencies Installation
$dest\dependencies.exe -help
- uses: leafo/gh-actions-lua@master
with:
luaVersion: ${{ matrix.luaVersion }}
Expand All @@ -64,6 +81,7 @@ jobs:
dir C:\Users\runneradmin\AppData\Roaming\luarocks\lib\lua\5.4\lfs.dll
lua -e "print(require'system.core')"
lua -e "print(require'lfs')"
dependencies -json -exports C:\Users\runneradmin\AppData\Roaming\luarocks\lib\lua\5.4\lfs.dll
luarocks make
- name: test
Expand Down

0 comments on commit e4dce6f

Please sign in to comment.