Merge pull request #29 from tizoc/macos-x64-releases #115
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: build | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
name: Build and test | |
runs-on: ${{ matrix.os }}-latest | |
env: | |
CHEZ_SCHEME_VERSION: '10.0.0' | |
strategy: | |
matrix: | |
os: [macos, ubuntu, windows] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Chez cache | |
id: shen-scheme-chez10-cache | |
uses: actions/cache@v2 | |
with: | |
path: _build/chez | |
key: ${{ matrix.os }}-chez-${{ env.CHEZ_SCHEME_VERSION }} | |
- name: Install deps (Ubuntu) | |
run: sudo apt-get install -y uuid-dev | |
if: runner.os == 'linux' | |
- name: Build Chez | |
run: make chez_kernel | |
- name: Build and test | |
run: | | |
echo "Using Chez Scheme version ${{ env.CHEZ_SCHEME_VERSION }}" | |
make fetch-kernel | |
make fetch-prebuilt | |
make precompile-with-prebuilt | |
make csversion=${{ env.CHEZ_SCHEME_VERSION }} | |
make test |