Skip to content

Commit

Permalink
chore: success with test window check workflow! now optimizing
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasgeiler committed May 19, 2024
1 parent 11ea188 commit d261ca1
Showing 1 changed file with 29 additions and 5 deletions.
34 changes: 29 additions & 5 deletions .github/workflows/test-windows-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,38 @@ jobs:
- name: Checkout
uses: actions/checkout@44c2b7a8a4ea60a981eaca3cf939b5f4305c123b # v4.1.5

- name: Setup Microsoft Visual C++ Developer Command Prompt
uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0
# - name: Setup Microsoft Visual C++ Developer Command Prompt
# uses: ilammy/msvc-dev-cmd@0b201ec74fa43914dc39ae48a89fd1d8cb592756 # v1.13.0

- name: Install dependencies analyzer
# action step used for troubleshooting if Windows dll's build incorrectly
run: |
$version = "1.11.1"
echo "Installing Dependencies version: $version"
$url = 'https://github.com/lucasg/Dependencies/releases/download/v' + $version + '/Dependencies_x64_Release.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"
Remove-Item -Path "$dest\dependencies.zip"
# dir "$dest"
# Add Dependencies to PATH
$env:PATH += ";$dest"
echo $env:PATH
# Verify Dependencies Installation
dir "$dest\*.exe"
dir ".\.dependencies\Dependencies.exe"
.\.dependencies\Dependencies.exe -help
- name: Setup Lua
uses: hishamhm/gh-actions-lua@master
with:
luaVersion: 5.4
buildCache: false
luaVersion: luajit
buildCache: false # required for now, need to delete cache somehow?

- name: Setup LuaRocks
uses: hishamhm/gh-actions-luarocks@master
Expand All @@ -30,4 +54,4 @@ jobs:
run: luarocks make

- name: Run a basic test
run: lua -e "local fenster = require('fenster');print(fenster.time())"
run: luarocks test -- --verbose --output TAP --exclude-tags needsdisplay

0 comments on commit d261ca1

Please sign in to comment.