Build capstone and keystone using emscripten #1
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 capstone and keystone using emscripten | |
on: | |
workflow_dispatch: | |
jobs: | |
setup: | |
runs-on: macos-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Initialize and install dependencies | |
run: | | |
git submodule update --init --recursive | |
chmod +x ./install_deps.sh | |
./install_deps.sh | |
- name: Build capstone | |
run: | | |
cd packages/capstone | |
chmod +x ./build-lib.sh | |
./build-lib.sh | |
npm install | |
npm run build | |
- name: Upload capstone dist folder | |
uses: actions/upload-artifact@v4 | |
with: | |
name: capstone-dist | |
path: packages/capstone/dist | |
- name: Build keystone | |
run: | | |
cd packages/keystone | |
chmod +x ./build-lib.sh | |
./build-lib.sh | |
npm install | |
npm run build | |
- name: Upload keystone dist folder | |
uses: actions/upload-artifact@v4 | |
with: | |
name: keystone-dist | |
path: packages/keystone/dist |