experiment: build RTS outside of Nix environment #10
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
# Build RTS outside of Nix environment | |
name: RTS | |
on: | |
push: | |
branches: [ "master" ] | |
pull_request: | |
jobs: | |
build-outside-nix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: Swatinem/rust-cache@v2 | |
- name: Download dependencies | |
run: | | |
sudo apt install -y llvm | |
git clone https://github.com/WebAssembly/wasi-libc ../wasi-libc && cd ../wasi-libc && git checkout c5264e2bbe532994d06b039005f2af91bedcc1a6 | |
git clone --branch v1.2.0 --depth 1 https://github.com/libtom/libtommath ../libtommath | |
- name: Build RTS | |
run: make -C rts |