Attempt to split up stack build.
This commit is contained in:
parent
f62da73cd4
commit
9780deb997
1 changed files with 27 additions and 17 deletions
44
.github/workflows/build.yml
vendored
44
.github/workflows/build.yml
vendored
|
@ -65,27 +65,37 @@ jobs:
|
|||
|
||||
|
||||
|
||||
# Setup & Cache site builder
|
||||
# Setup & Cache Agda, pandoc, and site builder
|
||||
|
||||
# - name: Cache Site Builder
|
||||
# uses: actions/cache@v2
|
||||
# id: cache-site-builder
|
||||
# with:
|
||||
# path: $GITHUB_WORKSPACE/.stack-work
|
||||
# key: ${{ matrix.os }}-ghc-${{ matrix.ghc }}-agda-${{ matrix.agda }}
|
||||
- name: Cache .stack-work
|
||||
uses: actions/cache@v2
|
||||
id: cache-stack-work
|
||||
with:
|
||||
path: $GITHUB_WORKSPACE/.stack-work
|
||||
key: ${{ matrix.os }}-ghc-${{ matrix.ghc }}-agda-${{ matrix.agda }}
|
||||
|
||||
# - name: Build Site Builder
|
||||
# if: steps.cache-site-builder.outputs.cache-hit != 'true'
|
||||
# run: make build-deps
|
||||
# shell: bash
|
||||
- name: Build Agda
|
||||
if: steps.cache-stack-work.outputs.cache-hit != 'true'
|
||||
run: stack build Agda-${{ matrix.agda }}
|
||||
shell: bash
|
||||
|
||||
- name: Build Pandoc
|
||||
if: steps.cache-stack-work.outputs.cache-hit != 'true'
|
||||
run: stack build pandoc-2.10.1
|
||||
shell: bash
|
||||
|
||||
- name: Build Site Builder
|
||||
if: steps.cache-stack-work.outputs.cache-hit != 'true'
|
||||
run: stack build
|
||||
shell: bash
|
||||
|
||||
|
||||
# Build & Test Website
|
||||
|
||||
# - name: Build Website
|
||||
# run: make build
|
||||
# shell: bash
|
||||
- name: Build Website
|
||||
run: make build
|
||||
shell: bash
|
||||
|
||||
# - name: Test Website
|
||||
# run: make test
|
||||
# shell: bash
|
||||
- name: Test Website
|
||||
run: make test
|
||||
shell: bash
|
||||
|
|
Loading…
Reference in a new issue