Skip to content

Remove unneeded GitLab jobs #2

Remove unneeded GitLab jobs

Remove unneeded GitLab jobs #2

Workflow file for this run

name: Generate static-analysis-kernel test bins
on:
push:
workflow_dispatch:
jobs:
test-bin-build:
strategy:
matrix:
include:
- target: aarch64-unknown-linux-gnu
os: ubuntu-latest
- target: x86_64-unknown-linux-gnu
os: ubuntu-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- name: Build
shell: bash
run: |
mkdir -p artifacts
output=$(cargo test --no-run 2>&1)
echo "$output" | tee cargo_stdout.log
mv cargo_stdout.log artifacts/
echo "$output" | grep -oP 'target/debug/deps/static-analysis-kernel-[^\s]+' | while read -r line ; do
mv "$line" artifacts/
done
- name: Archive
shell: bash
run: |
name="bin-${{ matrix.target }}.zip"
zip -r $name artifacts
- name: Upload
uses: actions/upload-artifact@v4
with:
name: bin-${{ matrix.target }}
path: bin-${{ matrix.target }}.zip