experiment: build RTS outside of Nix environment #7
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 --branch v1.2.0 --depth 1 https://github.com/libtom/libtommath ../libtommath | |
- name: Build RTS | |
run: make -C rts |