From efad9d935dcb0ebf17d0b5edbe0ae3c0fb152641 Mon Sep 17 00:00:00 2001 From: Adam Harrison Date: Mon, 16 Jan 2023 21:36:30 -0500 Subject: Maybe added in aarch64 build? --- .github/workflows/build.yml | 5 +++++ 1 file changed, 5 insertions(+) (limited to '.github/workflows/build.yml') diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84f627e..0e92bc3 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -62,10 +62,15 @@ jobs: run: | ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-x86_64-darwin'"' && tar -czvf lpm-$FULL_VERSION-x86_64-darwin.tar.gz lpm cp lpm lpm.x86_64-darwin + # For some reason, it seems like I get unsupported architecture from including network headers. + CC=clang CFLAGS="-arch arm64" ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$FULL_VERSION-aarch64-darwin'"' && tar -czvf lpm-$FULL_VERSION-aarch64-darwin.tar.gz lpm + cp lpm lpm.aarch64-darwin gh release upload continuous *.tar.gz if [[ `git tag --points-at HEAD | head -c 1` == "v" ]]; then gh release upload v$VERSION lpm.x86_64-darwin gh release upload latest lpm.x86_64-darwin + gh release upload v$VERSION lpm.aarch64-darwin + gh release upload latest lpm.aarch64-darwin git branch -f latest HEAD git tag -f latest git push -f origin refs/heads/latest -- cgit v1.2.3