Skip to content

test run on CI

test run on CI #39

Workflow file for this run

name: Build
on:
push
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04-arm, ubuntu-24.04]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install dependencies from apt
run: |
sudo apt update
sudo apt install -y make llvm libbpf-dev libcap-dev linux-tools-generic
- name: Compile with Make
run: |
make CORE=1 static
- name: Upload x64 binary
uses: actions/upload-artifact@v4
with:
name: lemon.x86_64
path: "lemon.x86_64"
continue-on-error: true
- name: Upload ARM64 binary
uses: actions/upload-artifact@v4
with:
name: lemon.aarch64
path: "lemon.aarch64"
continue-on-error: true
run:
needs: build
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-24.04-arm, ubuntu-24.04]
steps:
- name: Download artifacts
uses: actions/download-artifact@v4
- name: Run dump to disk
run: |
pwd
ls -l ./lemon.$(uname -m)
tree
sudo ./lemon.$(uname -m)/lemon.$(uname -m) -d /dev/null
# TODO build and run on NO CORE