ghcup-hs/.github/workflows/bootstrap.yaml

44 lines
925 B
YAML
Raw Normal View History

2022-10-20 12:37:50 +00:00
name: Bootstrap tests
on:
push:
branches:
- master
tags:
- 'v*'
pull_request:
branches:
- master
jobs:
bootstrap:
name: bootstrap
runs-on: ${{ matrix.os }}
env:
BOOTSTRAP_HASKELL_CABAL_VERSION: 3.6.2.0
BOOTSTRAP_HASKELL_GHC_VERSION: 8.10.7
BOOTSTRAP_HASKELL_NONINTERACTIVE: yes
2022-11-22 11:41:44 +00:00
ARCH: 64
2022-10-20 12:37:50 +00:00
JSON_VERSION: "0.0.7"
strategy:
matrix:
include:
- os: ubuntu-latest
DISTRO: Ubuntu
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
submodules: 'true'
2023-01-14 13:00:32 +00:00
- if: runner.os == 'Linux'
name: Run bootstrap
run: |
2023-02-08 13:25:53 +00:00
ls -lah /usr/local/.ghcup
ls -lah /usr/local/.ghcup/cache
cat /usr/local/.ghcup/config.yaml
ghcup --version
ghcup -v install cabal 3.8.1.0
2023-01-14 13:00:32 +00:00
env:
DISTRO: ${{ matrix.DISTRO }}