evaluator: Added cursor addresses to all stack traces #805
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
name: "Build" | |
on: | |
push: | |
branches: [ '*' ] | |
pull_request: | |
branches: [ '*' ] | |
jobs: | |
win: | |
name: πͺ Windows | |
runs-on: windows-2022 | |
defaults: | |
run: | |
shell: msys2 {0} | |
steps: | |
- name: π§° Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: π¦ Install msys2 | |
uses: msys2/setup-msys2@v2 | |
with: | |
msystem: mingw64 | |
pacboy: >- | |
gcc:p | |
lld:p | |
cmake:p | |
ninja:p | |
ccache:p | |
- name: π Setup ccache | |
uses: hendrikmuhs/ccache-action@v1 | |
with: | |
key: ${{ runner.os }}-build-${{ github.run_id }} | |
restore-keys: ${{ runner.os }}-build | |
max-size: 1G | |
- name: π οΈ Build | |
run: | | |
mkdir -p build | |
cd build | |
cmake \ | |
-DCMAKE_BUILD_TYPE=Release \ | |
-DCMAKE_INSTALL_PREFIX="$PWD/install" \ | |
-DCMAKE_C_FLAGS="-fuse-ld=lld" \ | |
-DCMAKE_CXX_FLAGS="-fuse-ld=lld" \ | |
-DLIBPL_ENABLE_TESTS=OFF \ | |
-DLIBPL_ENABLE_CLI=ON \ | |
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ | |
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | |
-DCMAKE_INSTALL_PREFIX="./install" \ | |
-G Ninja \ | |
.. | |
ninja install | |
- name: β¬οΈ Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plcli Windows | |
path: | | |
build/install/* | |
macos: | |
name: π macOS | |
runs-on: macos-13 | |
permissions: | |
actions: read | |
contents: read | |
security-events: write | |
steps: | |
- name: π§° Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: β¬οΈ Install dependencies | |
run: | | |
brew install llvm ccache ninja | |
- name: π Setup ccache | |
uses: hendrikmuhs/ccache-action@v1 | |
with: | |
key: ${{ runner.os }}-build-${{ github.run_id }} | |
restore-keys: ${{ runner.os }}-build | |
max-size: 1G | |
- name: π οΈ Build | |
run: | | |
mkdir -p build | |
cd build | |
CC=$(brew --prefix llvm)/bin/clang \ | |
CXX=$(brew --prefix llvm)/bin/clang++ \ | |
OBJC=$(brew --prefix llvm)/bin/clang \ | |
OBJCXX=$(brew --prefix llvm)/bin/clang++ \ | |
cmake \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DCMAKE_INSTALL_PREFIX="$PWD/install" \ | |
-DLIBPL_ENABLE_TESTS=OFF \ | |
-DLIBPL_ENABLE_CLI=ON \ | |
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ | |
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | |
-DCMAKE_INSTALL_PREFIX="./install" \ | |
-G Ninja \ | |
.. | |
ninja install | |
- name: β¬οΈ Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plcli macOS | |
path: | | |
build/install/* | |
linux: | |
name: π§ Linux | |
runs-on: ubuntu-24.04 | |
steps: | |
- name: π§° Checkout | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: β¬οΈ Install dependencies | |
run: | | |
sudo apt update | |
sudo apt install -y \ | |
build-essential \ | |
gcc-14 \ | |
g++-14 \ | |
lld \ | |
cmake \ | |
ninja-build \ | |
ccache | |
- name: π Setup ccache | |
uses: hendrikmuhs/ccache-action@v1 | |
with: | |
key: ${{ runner.os }}-build-${{ github.run_id }} | |
restore-keys: ${{ runner.os }}-build | |
max-size: 1G | |
- name: π οΈ Build | |
run: | | |
mkdir -p build | |
cd build | |
CC=gcc-14 CXX=g++-14 cmake \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DCMAKE_INSTALL_PREFIX="/usr" \ | |
-DCMAKE_C_FLAGS="-fuse-ld=lld" \ | |
-DCMAKE_CXX_FLAGS="-fuse-ld=lld" \ | |
-DLIBPL_ENABLE_TESTS=OFF \ | |
-DLIBPL_ENABLE_CLI=ON \ | |
-DCMAKE_C_COMPILER_LAUNCHER=ccache \ | |
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \ | |
-DCMAKE_INSTALL_PREFIX="./install" \ | |
-G Ninja \ | |
.. | |
ninja install | |
- name: β¬οΈ Upload Artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: plcli Linux | |
path: | | |
build/install/* |