Use 0x prefix in perf map #541
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: [push, pull_request] | |
name: Build | |
jobs: | |
test: | |
strategy: | |
matrix: | |
go-version: [1.19.x] | |
os: [ubuntu-22.04, ubuntu-22.04-arm] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: ${{ matrix.go-version }} | |
- uses: actions/checkout@v3 | |
- name: Install Dependencies | |
run: sudo apt update && sudo apt install -y gcc-aarch64-linux-gnu gcc-x86-64-linux-gnu meson ninja-build | |
- name: Install LFI x86-64 Compiler | |
if: matrix.os == 'ubuntu-22.04' | |
run: wget -q https://github.com/zyedidia/lfi/releases/download/v0.5/x86_64-lfi-clang.tar.gz && tar -xf x86_64-lfi-clang.tar.gz && echo "$PWD/x86_64-lfi-clang/lfi-bin" >> $GITHUB_PATH | |
- name: Install LFI AArch64 Compiler | |
if: matrix.os == 'ubuntu-22.04-arm' | |
run: wget -q https://github.com/zyedidia/lfi/releases/download/v0.5/aarch64-lfi-clang.tar.gz && tar -xf aarch64-lfi-clang.tar.gz && echo "$PWD/aarch64-lfi-clang/lfi-bin" >> $GITHUB_PATH | |
- name: Build and Test | |
run: | | |
meson build && ninja -C build test |