Skip to content

Update main.yml

Update main.yml #2

Workflow file for this run

name: Run Execution Tests
on:
push:
branches:
- '**'
jobs:
build-and-test:
runs-on: [self-hosted, ARM]
steps:
- name: Pull latest changes in LLVM
run: |
cd /home/eymen/Documents/Compiler/llvm-project # Replace with the actual path to LLVM on your Pi
git fetch origin
git checkout -B ${{ github.ref_name }}
- name: Incremental build of LLVM
run: |
cd /home/eymen/Documents/Compiler/llvm-project/build
ninja llvm-jitlink
- name: Copy binary to test suite
run: |
mkdir -p /home/eymen/Documents/Compiler/jitlink-aarch32-testuite/bin
cp /home/eymen/Documents/Compiler/llvm-project/build/bin/llvm-jitlink /home/eymen/Documents/Compiler/jitlink-aarch32-testuite/bin
- name: Run execution tests
run: |
cd /home/eymen/Documents/Compiler/jitlink-aarch32-testuite
source llvm-lit-venv/bin/activate
lit . -a