Trace FFI pointer ccall trampolines #43
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: | |
| - "**" | |
| pull_request: | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| linux: | |
| name: Linux x86_64 build/run | |
| runs-on: ubuntu-24.04 | |
| env: | |
| LUA: luajit | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install build tools | |
| run: | | |
| sudo apt-get update | |
| sudo apt-get install -y --no-install-recommends \ | |
| build-essential luajit | |
| - name: Build and run Linux platform checks | |
| run: | | |
| tools/ci/platform_build.sh linux-x86_64 | |
| macos: | |
| name: macOS x86_64 build/run | |
| runs-on: macos-13 | |
| env: | |
| LUA: luajit | |
| MACOSX_DEPLOYMENT_TARGET: "13.0" | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Install build tools | |
| run: | | |
| if ! command -v luajit >/dev/null 2>&1; then | |
| brew install luajit | |
| fi | |
| - name: Build and run macOS platform checks | |
| run: | | |
| tools/ci/platform_build.sh macos-x86_64 | |
| windows-ucrt: | |
| name: Windows x86_64 UCRT build/run | |
| runs-on: ubuntu-24.04 | |
| container: debian:trixie | |
| env: | |
| LUA: luajit | |
| steps: | |
| - name: Install build tools | |
| run: | | |
| apt-get update | |
| apt-get install -y --no-install-recommends \ | |
| build-essential ca-certificates git luajit make \ | |
| binutils-mingw-w64-ucrt64 gcc-mingw-w64-ucrt64 mingw-w64 \ | |
| wine wine64 | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Build and run Windows UCRT platform checks | |
| run: | | |
| mkdir -p "$PWD/.ci-home" "$PWD/.wine" | |
| export HOME="$PWD/.ci-home" | |
| export WINEPREFIX="$PWD/.wine" | |
| git config --global --add safe.directory "$GITHUB_WORKSPACE" | |
| tools/ci/platform_build.sh windows-x86_64-ucrt |