From 5be3afcd847b7d8ce0886ab73cb4ce9b93c114e1 Mon Sep 17 00:00:00 2001 From: mu <59917266+4eUeP@users.noreply.github.com> Date: Thu, 17 Aug 2023 13:34:49 +0800 Subject: [PATCH] tmp --- .github/workflows/ci_ghc.yml | 50 ++++++++++++++++++++---------------- 1 file changed, 28 insertions(+), 22 deletions(-) diff --git a/.github/workflows/ci_ghc.yml b/.github/workflows/ci_ghc.yml index f8d38cd..02dd494 100644 --- a/.github/workflows/ci_ghc.yml +++ b/.github/workflows/ci_ghc.yml @@ -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 @@ -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