Skip to content

cmake: support disabling CPM #366

cmake: support disabling CPM

cmake: support disabling CPM #366

Workflow file for this run

name: emscripten
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths-ignore:
- '**.md'
- 'docs/**'
push:
branches:
- main
paths-ignore:
- '**.md'
- 'docs/**'
permissions:
contents: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4.0.0
- uses: mymindstorm/setup-emsdk@ab889da2abbcbb280f91ec4c215d3bb4f3a8f775 # v12
- name: Verify
run: emcc -v
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v3.6.0
- name: Configure
run: emcmake cmake -B buildwasm -D ADA_TOOLS=OFF
- name: Build
run: cmake --build buildwasm
- name: Test
run: ctest --test-dir buildwasm