mirror of
https://github.com/simonmichael/hledger.git
synced 2024-10-06 10:57:30 +03:00
ci: binaries-linux: drop "-static" from names, assume it
This commit is contained in:
parent
a4917f8f98
commit
7249fa80cd
@ -4,11 +4,11 @@
|
|||||||
# Currently runs no tests.
|
# Currently runs no tests.
|
||||||
# Slow, will probably time out.
|
# Slow, will probably time out.
|
||||||
|
|
||||||
name: binaries-linux-arm32v7-static
|
name: binaries-linux-arm32v7
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ binaries-linux-arm32v7-static ]
|
branches: [ binaries-linux-arm32v7 ]
|
||||||
#tags:
|
#tags:
|
||||||
# - '[0-9]+.[0-9]+'
|
# - '[0-9]+.[0-9]+'
|
||||||
# - '[0-9]+.[0-9]+-*'
|
# - '[0-9]+.[0-9]+-*'
|
||||||
@ -30,18 +30,18 @@ jobs:
|
|||||||
id: docker_build
|
id: docker_build
|
||||||
uses: docker/build-push-action@v2
|
uses: docker/build-push-action@v2
|
||||||
with:
|
with:
|
||||||
file: ./docker-static-arm32v7/Dockerfile
|
file: ./docker-arm32v7/Dockerfile
|
||||||
platforms: linux/arm
|
platforms: linux/arm
|
||||||
tags: hledger-linux-static-arm32v7:latest
|
tags: hledger-linux-arm32v7:latest
|
||||||
load: true
|
load: true
|
||||||
|
|
||||||
- name: Gather binaries from docker
|
- name: Gather binaries from docker
|
||||||
run: |
|
run: |
|
||||||
container_id=$(docker create hledger-linux-static-arm32v7:latest)
|
container_id=$(docker create hledger-linux-arm32v7:latest)
|
||||||
docker cp $container_id:/root/hledger tmp
|
docker cp $container_id:/root/hledger tmp
|
||||||
docker rm -v $container_id
|
docker rm -v $container_id
|
||||||
cd tmp
|
cd tmp
|
||||||
tar cvf hledger-linux-static-arm32v7.tar hledger hledger-ui hledger-web
|
tar cvf hledger-linux-arm32v7.tar hledger hledger-ui hledger-web
|
||||||
|
|
||||||
# upload-artifact loses execute permissions, so we tar the binaries to preserve them.
|
# upload-artifact loses execute permissions, so we tar the binaries to preserve them.
|
||||||
# github UI always zips artifacts when they are downloaded, so we don't bother compressing the tar.
|
# github UI always zips artifacts when they are downloaded, so we don't bother compressing the tar.
|
||||||
@ -49,5 +49,5 @@ jobs:
|
|||||||
- name: Upload binaries artifact
|
- name: Upload binaries artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v3
|
||||||
with:
|
with:
|
||||||
name: hledger-linux-static-arm32v7
|
name: hledger-linux-arm32v7
|
||||||
path: tmp/hledger-linux-static-arm32v7.tar
|
path: tmp/hledger-linux-arm32v7.tar
|
@ -6,11 +6,11 @@
|
|||||||
# Was using ghc 9.0 to avoid segfaults with the ghc 9.2 binaries on alpine, https://gitlab.haskell.org/ghc/ghc/-/issues/20266
|
# Was using ghc 9.0 to avoid segfaults with the ghc 9.2 binaries on alpine, https://gitlab.haskell.org/ghc/ghc/-/issues/20266
|
||||||
# Trying latest ghc 9.8 now.
|
# Trying latest ghc 9.8 now.
|
||||||
|
|
||||||
name: binaries-linux-x64-static
|
name: binaries-linux-x64
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ binaries-linux-x64-static, binaries ]
|
branches: [ binaries-linux-x64, binaries ]
|
||||||
#tags:
|
#tags:
|
||||||
# - '[0-9]+.[0-9]+'
|
# - '[0-9]+.[0-9]+'
|
||||||
# - '[0-9]+.[0-9]+-*'
|
# - '[0-9]+.[0-9]+-*'
|
Loading…
Reference in New Issue
Block a user