aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2023-01-16 21:36:30 -0500
committerAdam Harrison <adamdharrison@gmail.com>2023-01-16 21:36:30 -0500
commitefad9d935dcb0ebf17d0b5edbe0ae3c0fb152641 (patch)
tree7a943c7173f67b0d64c0bbc95fda74bf4bc4bc0e /.github
parent21eae5da72f3a96482ff479841b214a01ede3652 (diff)
downloadlite-xl-plugin-manager-efad9d935dcb0ebf17d0b5edbe0ae3c0fb152641.tar.gz
lite-xl-plugin-manager-efad9d935dcb0ebf17d0b5edbe0ae3c0fb152641.zip
Maybe added in aarch64 build?
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/build.yml5
1 files changed, 5 insertions, 0 deletions
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