Skip to content

Commit 397c769

Browse files
authored
Merge pull request #31 from ni/users/ssantolu/dev
adding lv window netlists
2 parents f8e9116 + 67fe234 commit 397c769

File tree

123 files changed

+819926
-3082
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

123 files changed

+819926
-3082
lines changed

.github/workflows/target-smoke-tests.yml

Lines changed: 5 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -32,19 +32,6 @@ jobs:
3232
- name: Checkout
3333
uses: actions/checkout@v4
3434

35-
- name: Configure Git long paths and short workspace path
36-
shell: pwsh
37-
run: |
38-
git config --global core.longpaths true
39-
40-
if (Test-Path "X:\") {
41-
subst X: /d
42-
}
43-
44-
subst X: $env:GITHUB_WORKSPACE
45-
"SHORT_WORKSPACE=X:\" | Out-File -FilePath $env:GITHUB_ENV -Encoding utf8 -Append
46-
Write-Host "Mapped $env:GITHUB_WORKSPACE to X:\\"
47-
4835
- name: Setup Python
4936
uses: actions/setup-python@v5
5037
with:
@@ -54,15 +41,15 @@ jobs:
5441
- name: Install Python dependencies
5542
shell: pwsh
5643
run: |
57-
Set-Location $env:SHORT_WORKSPACE
44+
Set-Location $env:GITHUB_WORKSPACE
5845
python -m pip install --upgrade pip
5946
python -m pip install -r requirements.txt
6047
6148
- name: Discover target folders
6249
id: discover
6350
shell: pwsh
6451
run: |
65-
Set-Location $env:SHORT_WORKSPACE
52+
Set-Location $env:GITHUB_WORKSPACE
6653
$targets = Get-ChildItem targets -Directory |
6754
Where-Object { Test-Path (Join-Path $_.FullName "projectsettings.ini") } |
6855
Sort-Object Name |
@@ -78,7 +65,7 @@ jobs:
7865
- name: Run install-deps once
7966
shell: pwsh
8067
run: |
81-
Set-Location $env:SHORT_WORKSPACE
68+
Set-Location $env:GITHUB_WORKSPACE
8269
$targets = "${{ steps.discover.outputs.targets }}".Split(',', [System.StringSplitOptions]::RemoveEmptyEntries)
8370
$firstTarget = $targets[0]
8471
$inputArgs = ""
@@ -105,26 +92,18 @@ jobs:
10592
- name: Run per-target gen-target and create-project
10693
shell: pwsh
10794
run: |
108-
Set-Location $env:SHORT_WORKSPACE
95+
Set-Location $env:GITHUB_WORKSPACE
10996
$targets = "${{ steps.discover.outputs.targets }}".Split(',', [System.StringSplitOptions]::RemoveEmptyEntries)
11097
11198
foreach ($target in $targets) {
11299
Write-Host "::group::$target"
113100
Push-Location (Join-Path "targets" $target)
114101
try {
115102
nihdl gen-target
116-
nihdl create-project
103+
nihdl create-project --test
117104
}
118105
finally {
119106
Pop-Location
120107
Write-Host "::endgroup::"
121108
}
122109
}
123-
124-
- name: Cleanup mapped drive
125-
if: always()
126-
shell: pwsh
127-
run: |
128-
if (Test-Path "X:\") {
129-
subst X: /d
130-
}

0 commit comments

Comments
 (0)