Skip to content

Commit b20d6a0

Browse files
committed
Remove ci-self-hosted from GH Actions.
1 parent 92c790d commit b20d6a0

File tree

1 file changed

+0
-36
lines changed

1 file changed

+0
-36
lines changed

.github/workflows/ci.yml

-36
Original file line numberDiff line numberDiff line change
@@ -40,39 +40,3 @@ jobs:
4040
- name: run official-images tests
4141
run: ./official-images/test/run.sh haskell:${{ matrix.ghc }}-${{ matrix.deb }}
4242

43-
ci-self-hosted:
44-
if: github.repository == 'psftw/docker-haskell-private'
45-
timeout-minutes: 20
46-
runs-on: self-hosted
47-
name: ${{ matrix.ghc }}-${{ matrix.deb }}
48-
strategy:
49-
fail-fast: false
50-
matrix:
51-
ghc: ['8.8.3', '8.10.1']
52-
deb: ['stretch', 'buster']
53-
include:
54-
- ghc: '8.8.3'
55-
ghc_minor: '8.8'
56-
- ghc: '8.10.1'
57-
ghc_minor: '8.10'
58-
steps:
59-
- uses: actions/checkout@v2
60-
- name: docker build [${{ matrix.ghc }}]
61-
run: |
62-
docker build --pull \
63-
-t haskell:${{ matrix.ghc }}-${{ matrix.deb }} \
64-
-f ${{ matrix.ghc_minor }}/Dockerfile.${{ matrix.deb }} \
65-
${{ matrix.ghc_minor }}
66-
- name: check for cabal-cache
67-
run: |
68-
docker volume inspect cabal-cache-${{ matrix.ghc }} &> /dev/null || \
69-
docker run -t --rm -v cabal-cache-${{ matrix.ghc }}:/root/.cabal haskell:${{ matrix.ghc }}-${{ matrix.deb }} cabal new-update
70-
- name: cabal new-install
71-
run: docker run -t --rm -v cabal-cache-${{ matrix.ghc }}:/root/.cabal haskell:${{ matrix.ghc }}-${{ matrix.deb }} cabal new-install --lib primitive
72-
- name: wipe stack cache
73-
run: docker volume rm stack-test-${{ matrix.ghc }}
74-
continue-on-error: true
75-
- name: stack new
76-
run: docker run -t --rm -v stack-test-${{ matrix.ghc }}:/stack -w /stack haskell:${{ matrix.ghc }}-${{ matrix.deb }} stack --resolver ghc-${{ matrix.ghc }} new testproject --bare
77-
- name: stack run
78-
run: docker run -t --rm -v stack-test-${{ matrix.ghc }}:/stack -w /stack haskell:${{ matrix.ghc }}-${{ matrix.deb }} stack run

0 commit comments

Comments
 (0)