Skip to content

Commit

Permalink
[WIP] windows e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
makslevental committed Aug 20, 2024
1 parent d107305 commit 4f615fb
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,16 @@ jobs:

test_linux:
name: E2E Test linux
runs-on: amd7940hs
needs: build_and_ctest
runs-on: ${{ matrix.runs-on }}
strategy:
fail-fast: true
fail-fast: false
matrix:
include:
- os: linux
runs-on: amd7940hs
- os: windows
runs-on: mlevental-win11-pro
env:
XILINXD_LICENSE_FILE: /home/svcnod/Xilinx.lic
steps:
Expand All @@ -134,12 +140,12 @@ jobs:
- name: Download artifacts
uses: actions/download-artifact@v4
with:
name: linux_x86_64_release_packages
name: "${{ matrix.os }}_x86_64_release_packages"

- name: Extract artifact
run: |
mkdir iree-install
tar -xf iree-linux-dist.tar -C iree-install
tar -xf iree-${{ matrix.os }}-dist.tar -C iree-install
bash build_tools/download_peano.sh
- name: Create venv and install dependencies
Expand Down
5 changes: 5 additions & 0 deletions build_tools/ci/cpu_comparison/run_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@

import argparse
import os
import platform
import re
import subprocess
import time
Expand Down Expand Up @@ -46,6 +47,10 @@ def find_executable(install_dir: Path, executable_name):
install_dir / "bin",
install_dir / "tools",
]

if platform.system() == "Windows":
executable_name += ".exe"

for directory in search_dirs:
executable_path = directory / executable_name
if executable_path.is_file():
Expand Down
2 changes: 1 addition & 1 deletion build_tools/download_peano.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash

RELEASE=19.0.0.2024072901+debfcac7
RELEASE=19.0.0.2024081918+69415c19
pip download -q llvm_aie==$RELEASE -f https://github.com/Xilinx/llvm-aie/releases/expanded_assets/nightly
unzip -q llvm_aie*whl

0 comments on commit 4f615fb

Please sign in to comment.