Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
4eUeP committed Aug 17, 2023
1 parent 64bb01b commit 5be3afc
Showing 1 changed file with 28 additions and 22 deletions.
50 changes: 28 additions & 22 deletions .github/workflows/ci_ghc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,17 +35,17 @@ jobs:
include:
# FIXME: disable arm64 builds since it's too slow on ci
# platform: linux/amd64,linux/arm64
- platform: linux/amd64
ghc: 8.10.7
tag: 8.10.7:8.10
#- platform: linux/amd64
# ghc: 8.10.7
# tag: 8.10.7:8.10

- platform: linux/amd64
ghc: 9.2.7
tag: 9.2.7:9.2:latest
ghc: 9.2.8
tag: 9.2.8:9.2:latest

- platform: linux/amd64
ghc: 9.4.5
tag: 9.4.5:9.4
#- platform: linux/amd64
# ghc: 9.4.5
# tag: 9.4.5:9.4

steps:
- uses: actions/checkout@v3
Expand All @@ -57,21 +57,27 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: build
run: |
cd ..
./docker-haskell/build.sh build_ghc902
./docker-haskell/build.sh push_ghc902
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Build
uses: ./.github/actions/docker-haskell
with:
image-name: ghcr.io/hstreamdb/ghc
dockerfile: dockerfiles/ghc_from_haskell
platform: ${{ matrix.platform }}
tag: ${{ matrix.tag }}
kargs-key: GHC
kargs-value: ${{ matrix.ghc }}
#- name: Set up QEMU
# uses: docker/setup-qemu-action@v2
#
#- name: Set up Docker Buildx
# uses: docker/setup-buildx-action@v2
#
#- name: Build
# uses: ./.github/actions/docker-haskell
# with:
# image-name: ghcr.io/hstreamdb/ghc
# dockerfile: dockerfiles/ghc_from_haskell
# platform: ${{ matrix.platform }}
# tag: ${{ matrix.tag }}
# kargs-key: GHC
# kargs-value: ${{ matrix.ghc }}

# ----------------------
# XXX: Unused
Expand Down

0 comments on commit 5be3afc

Please sign in to comment.