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 4051463
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,25 @@ jobs:
if: ${{ matrix.toolchain == 'msvc' }}
uses: ilammy/msvc-dev-cmd@v1

- name: install Dependencies analyzer
if: ${{ matrix.toolchain == 'msvc' }}
run: |
$version = "1.11.1"
$url = 'https://github.com/lucasg/Dependencies/archive/refs/tags/v$version.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\dependencies-$version"
# Verify Dependencies Installation
dir "$dest\dependencies-$version"
& dependencies.exe -help
- uses: leafo/gh-actions-lua@master
with:
luaVersion: ${{ matrix.luaVersion }}
Expand All @@ -64,6 +83,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 4051463

Please sign in to comment.