diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-01-16 21:36:30 -0500 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-01-16 21:36:30 -0500 |
commit | efad9d935dcb0ebf17d0b5edbe0ae3c0fb152641 (patch) | |
tree | 7a943c7173f67b0d64c0bbc95fda74bf4bc4bc0e | |
parent | 21eae5da72f3a96482ff479841b214a01ede3652 (diff) | |
download | lite-xl-plugin-manager-efad9d935dcb0ebf17d0b5edbe0ae3c0fb152641.tar.gz lite-xl-plugin-manager-efad9d935dcb0ebf17d0b5edbe0ae3c0fb152641.zip |
Maybe added in aarch64 build?
-rw-r--r-- | .github/workflows/build.yml | 5 | ||||
-rw-r--r-- | src/lpm.c | 1 |
2 files changed, 5 insertions, 1 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 @@ -4,7 +4,6 @@ #include <windows.h> #include <fileapi.h> #else - #include <netinet/in.h> #include <netdb.h> #include <sys/socket.h> #include <arpa/inet.h> |