Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoid templating GitHub Actions workflow #7952

Merged
merged 34 commits into from
Feb 19, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
705398e
Avoid templating GitHub Actions workflow
andreabedini Feb 4, 2022
1d98686
Add GHC 9.2, bump bounds, fix syntax
andreabedini Feb 4, 2022
af850c0
Switch to official haskell image
andreabedini Feb 4, 2022
caf429a
Always run cli tests for ghc 8.2 and above
andreabedini Feb 4, 2022
cd328d3
Remove step to regenerate GitHub Actions workflows
andreabedini Feb 4, 2022
2e0f916
Fix missed reference to GHC version
andreabedini Feb 4, 2022
8694058
Fix yaml syntax
andreabedini Feb 4, 2022
63f9e02
Fix type in the GHC version
andreabedini Feb 4, 2022
1c63671
More CI changes
andreabedini Feb 8, 2022
9305e3f
Remove unneeded package from CI setup
andreabedini Feb 8, 2022
1d031ad
Drop old GHCs from the CI
andreabedini Feb 8, 2022
fe809fb
Switch macos.yml to haskell/action/setup
andreabedini Feb 8, 2022
778fd58
Simplify CI
andreabedini Feb 8, 2022
450fb9f
Mark GHC 9.2.1 as experimental
andreabedini Feb 8, 2022
f89353b
Remove reference to cabal-plan from validate.sh
andreabedini Feb 9, 2022
8c007d8
setup-haskell action already runs cabal update
andreabedini Feb 9, 2022
576d3f1
Add missing build matrix in test-windows-dogfood
andreabedini Feb 9, 2022
3c8dd20
Replace cabal-plan list-bin with cabal list-bin
andreabedini Feb 9, 2022
b38aa30
Enable caching in the CI
andreabedini Feb 9, 2022
c9ff962
Fix typo
andreabedini Feb 9, 2022
8505cc5
Remove continue-on-error until I figure it out
andreabedini Feb 10, 2022
f0c1e82
Keep naming consistent
andreabedini Feb 10, 2022
fb88bd4
Temporarily disable 8.0.2 on macos
andreabedini Feb 10, 2022
0b44294
Add missing step id
andreabedini Feb 11, 2022
760ec1b
Tweaks
andreabedini Feb 12, 2022
f002769
More tweaks
andreabedini Feb 13, 2022
7ce9ab7
Tweaks
andreabedini Feb 13, 2022
77ae21a
Restore cabal-plan, temporarily mark everything experimental
andreabedini Feb 14, 2022
c897207
Tweaks
andreabedini Feb 14, 2022
680e16b
Ensure cabal-plan executable gets built
andreabedini Feb 14, 2022
662fcef
Install automake on MacOS
andreabedini Feb 14, 2022
1439b59
Tweaks
andreabedini Feb 16, 2022
776076b
Tweaks
andreabedini Feb 17, 2022
bc017df
Fix typo
andreabedini Feb 18, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 11 additions & 32 deletions .github/workflows/bootstrap.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
# This file is auto-generated
#
# To regenerate it run
#
# make github-actions
#
name: Bootstrap

on:
push:
branches:
Expand All @@ -15,37 +10,21 @@ on:
- created

jobs:
bootstrap-linux:
name: Bootstrap on Linux
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: bootstrap.py
run: |
ghcup config set cache true
ghcup install ghc 8.10.7
python3 bootstrap/bootstrap.py -w $(ghcup whereis ghc 8.10.7) -d bootstrap/linux-8.10.7.json

- name: Smoke test
run: |
_build/bin/cabal --version

- uses: actions/upload-artifact@v2
with:
name: cabal-linux-bootstrapped
path: _build/artifacts/*

bootstrap-macos:
name: Bootstrap on macOS
runs-on: macos-latest
bootstrap:
strategy:
matrix:
os:
- ubuntu-latest
- macos-latest
name: Bootstrap ${{ matrix.os }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2

# We use linux dependencies
- name: bootstrap.py
run: |
ghcup config set cache true
ghcup install ghc 8.10.7
# We use linux dependencies also on macos
python3 bootstrap/bootstrap.py -w $(ghcup whereis ghc 8.10.7) -d bootstrap/linux-8.10.7.json

- name: Smoke test
Expand All @@ -54,5 +33,5 @@ jobs:

- uses: actions/upload-artifact@v2
with:
name: cabal-macos-bootstrapped
name: cabal-${{ matrix.os }}-bootstrapped
path: _build/artifacts/*
Loading