Skip to content

custom configuration #10

custom configuration

custom configuration #10

Workflow file for this run

name: Build
on: [push, pull_request]
jobs:
linux:
name: linux
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: install packages
run: |
sudo apt-get update
sudo apt-get install -y g++ ninja-build ccache
- name: llvm
run: |
cd wamr/wamr-compiler
./build_llvm.sh
- name: wamrc
run: |
mkdir build
cd build
cmake ..
cmake --build .
- name: upload
uses: actions/upload-artifact@v4
with:
name: wamrc-linux
compression-level: 9
path: |
build/wamr/wamr-compiler/wamrc
windows:
name: windows
runs-on: windows-latest
strategy:
fail-fast: false
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: install packages
shell: bash
run: |
pip install requests
- name: llvm
shell: bash
run: |
cd wamr/wamr-compiler
./build_llvm.py
- name: wamrc
shell: bash
run: |
mkdir build
cd build
cmake ..
cmake --build . --config release
- name: upload
uses: actions/upload-artifact@v4
with:
name: wamrc-windows
compression-level: 9
path: |
build/wamr/wamr-compiler/Release/wamrc.exe