Skip to content

Commit

Permalink
Git context
Browse files Browse the repository at this point in the history
  • Loading branch information
straight-shoota committed Nov 25, 2023
1 parent f296765 commit 6c36a4e
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions .github/workflows/maintenance-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,13 @@ jobs:
# !linux/build/*-bundled.tar.gz

build-linux2:
name: Build x86 Linux tarballs
name: Buildx x86 Linux tarballs
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
repository: crystal-lang/distribution-scripts
branch: refactor/linux-makefile-build-context

- name: Build statically linked copiler
uses: docker/build-push-action@v5
with:
context: https://github.com/crystal-lang/distribution-scripts.git#refactor/linux-makefile-build-context
file: linux/Dockerfile
build-args: |
previous_crystal_release=https://github.com/crystal-lang/crystal/releases/download/${{ env.PREVIOUS_CRYSTAL_VERSION }}/crystal-${{ env.PREVIOUS_CRYSTAL_VERSION }}-1-linux-x86_64.tar.gz
Expand All @@ -85,14 +81,10 @@ jobs:
name: Build aarch64 Linux tarballs
runs-on: [linux, ARM64]
steps:
- uses: actions/checkout@v3
with:
repository: crystal-lang/distribution-scripts
branch: refactor/linux-makefile-build-context

- name: Build statically linked copiler
uses: docker/build-push-action@v5
with:
context: https://github.com/crystal-lang/distribution-scripts.git#refactor/linux-makefile-build-context
file: linux/Dockerfile
build-args: |
previous_crystal_release=https://dev.alpinelinux.org/archive/crystal/crystal-${{ env.PREVIOUS_CRYSTAL_VERSION }}-aarch64-alpine-linux-musl.tar.gz
Expand All @@ -101,12 +93,6 @@ jobs:
outputs: |
type=tar,path=linux/crystal-${{ env.CRYSTAL_VERSION }}-1-linux-x86_64.tar
# - name: Build linux binaries
# uses: docker://jhass/crystal:1.0.0-alpine-build # this is only to get an environment with make
# #working-directory: linux
# with:
# args: make all #pull_images=true release=true

# - name: Upload tarballs as artifacts
# uses: actions/upload-artifact@v3
# with:
Expand Down

0 comments on commit 6c36a4e

Please sign in to comment.