doc: use full URL for package index, now build separately #42
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
name: Bootstrap | |
on: | |
push: | |
paths-ignore: ['documentation/**', '**.rst', '**.md'] | |
pull_request: | |
paths-ignore: ['documentation/**', '**.rst', '**.md'] | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-20.04] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Dependencies | |
run: | | |
if [ "$RUNNER_OS" == "Linux" ]; then | |
sudo apt-get install libgc-dev | |
fi | |
if [ "$RUNNER_OS" == "macOS" ]; then | |
brew install autoconf automake bdw-gc | |
fi | |
shell: bash | |
- name: Install bootstrap compiler | |
run: | | |
if [ "$RUNNER_OS" == "Linux" ]; then | |
curl -LO https://github.com/dylan-lang/opendylan/releases/download/v2020.1.0/opendylan-2020.1-x86_64-linux.tar.bz2 | |
tar xvf opendylan-2020.1-x86_64-linux.tar.bz2 | |
fi | |
if [ "$RUNNER_OS" == "macOS" ]; then | |
curl -LO https://github.com/dylan-lang/opendylan/releases/download/v2020.1.0/opendylan-2020.1-x86_64-darwin.tar.bz2 | |
tar xvf opendylan-2020.1-x86_64-darwin.tar.bz2 | |
fi | |
echo "`pwd`/opendylan-2020.1/bin" >> $GITHUB_PATH | |
- name: Generate configure | |
run: ./autogen.sh | |
- name: Configure | |
run: ./configure | |
- name: Build | |
run: make | |
- name: Run Tests | |
run: make check |