Skip to content

Commit

Permalink
Simplify workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dlozeve committed Oct 23, 2021
1 parent df13880 commit def87ce
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,21 @@
name: CI
on: [push, pull_request]
jobs:
install-gambit:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: sudo apt-get -y install openssl libssl-dev sqlite3 libsqlite3-dev
- name: Install Gambit
run: ./.github/scripts/install-gambit.sh
- name: Cache gambit
uses: actions/cache@v2
env:
cache-name: gambit
with:
path: $HOME/gambit
key: ${{ runner.os }}-${{ env.cache-name }}-${{ hashFiles('$HOME/gambit/bin/gsi') }}
build-test:
runs-on: ubuntu-latest
needs: install-gambit
steps:
- uses: actions/checkout@v2
- name: Install Gambit
run: ./.github/scripts/install-gambit.sh
- name: Build
run: |
echo "(define (gerbil-version-string) \"git-$(git rev-parse --short=8 HEAD)\")" > src/gerbil/runtime/gx-version.scm
Expand Down

0 comments on commit def87ce

Please sign in to comment.