Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

experiment: build RTS outside of Nix environment #4425

Closed
wants to merge 16 commits into from
22 changes: 22 additions & 0 deletions .github/workflows/rts-outside-nix.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# 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 musl clang-13
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
4 changes: 4 additions & 0 deletions rts/rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "nightly-2023-04-21"
components = [ "rust-src" ]
targets = ["wasm32-unknown-emscripten"]
Loading