1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-04 06:56:45 +02:00

chore: Add check that the static build script works.

Otherwise it'll break again in the future and we won't know.
This commit is contained in:
iphydf
2022-01-13 00:55:06 +00:00
parent 4bd1d9bfee
commit ceb175e3f1
4 changed files with 20 additions and 2 deletions

View File

@ -37,6 +37,22 @@ jobs:
- name: Build toxic
run: make -j4
build-static:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Build minimal static toxic binary
run: docker run --rm
-v /tmp/artifact:/artifact
-v $PWD:/toxic
amd64/alpine:latest
sh -c 'yes | /toxic/script/build-minimal-static-toxic.sh'
- name: Display binary checksum
run: |
tar Jxf /tmp/artifact/toxic-minimal-static-musl_linux_x86-64.tar.xz
sha256sum toxic-minimal-static-musl_linux_x86-64/toxic
infer:
runs-on: ubuntu-latest
container: toxchat/infer