Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
eymay authored Nov 3, 2023
1 parent b244b6a commit 22ff747
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
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 ${{ github.ref }}
git pull origin ${{ github.ref }}
- 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

0 comments on commit 22ff747

Please sign in to comment.