Enable build #13
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
on: [push, pull_request] | |
name: ci | |
jobs: | |
build: | |
name: Build | |
strategy: | |
matrix: | |
os: [ubuntu-latest, macos-latest] | |
runs-on: ubuntu-latest | |
steps: | |
- name: install elan | |
run: | | |
set -o pipefail | |
curl -sSfL https://github.com/leanprover/elan/releases/download/v1.4.2/elan-x86_64-unknown-linux-gnu.tar.gz | tar xz | |
./elan-init -y --default-toolchain none | |
echo "$HOME/.elan/bin" >> $GITHUB_PATH | |
- uses: actions/checkout@v4 | |
- name: Install libuv (ubuntu) | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends libuv1-dev | |
if: matrix.os == 'ubuntu-latest' | |
- name: Install libuv (osx) | |
run: | | |
sudo apt-get update | |
sudo apt-get install -y --no-install-recommends libuv1-dev | |
if: matrix.os == 'ubuntu-latest' | |
- name: Lake build | |
run: | | |
which cc | |
ls -l $(which cc) | |
lake build --verbose |