Skip to content

build(deps): bump actions/checkout from 3 to 4 (#55) #305

build(deps): bump actions/checkout from 3 to 4 (#55)

build(deps): bump actions/checkout from 3 to 4 (#55) #305

Workflow file for this run

name: Build tools
on:
push:
pull_request:
workflow_dispatch:
jobs:
build-tools:
runs-on: ubuntu-22.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Install dependencies
run: |
set -e
sudo apt-get update
sudo apt-get install --yes build-essential pkgconf libelf-dev llvm-12 clang-12
for tool in "clang" "llc" "llvm-strip"; do
path=$(which $tool-12)
test $(which $tool) && sudo mv $(which $tool){,.bak}
sudo ln -sf $path ${path%-*}
done
- name: build tools
run: |
set -e
cd tools
for i in $(ls ./); do
echo -e "\033[33m=== start build $i ===\033[0;39m"
( cd $i && make )
echo -e "\033[32m=== finish build $i ===\033[0;39m"
done