Skip to content

fix to llarm-emu missing CPY #39

fix to llarm-emu missing CPY

fix to llarm-emu missing CPY #39

name: Cross-platform build
on:
push:
pull_request:
jobs:
build:
strategy:
fail-fast: false
matrix:
os: [ubuntu-24.04, macos-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Authenticate git for FetchContent
run: git config --global url."https://${{ github.token }}@github.com/".insteadOf "https://github.com/"
- name: Install CMake 3.29 (Linux)
if: runner.os == 'Linux'
run: |
wget -qO - https://apt.kitware.com/keys/kitware-archive-latest.asc \
| gpg --dearmor \
| sudo tee /usr/share/keyrings/kitware-archive-keyring.gpg > /dev/null
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ noble main' \
| sudo tee /etc/apt/sources.list.d/kitware.list > /dev/null
sudo apt-get update -q
sudo apt-get install -y cmake
- name: Cache FetchContent dependencies
uses: actions/cache@v4
with:
path: build/_deps
key: deps-${{ runner.os }}-${{ hashFiles('cmake/dependencies.cmake', 'shared/CMakeLists.txt') }}
- name: Configure
run: cmake -S . -B build -DCMAKE_BUILD_TYPE=Debug
- name: Build
run: cmake --build build --config Debug --parallel