aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorAdam Harrison <adamdharrison@gmail.com>2022-12-31 15:20:22 -0500
committerAdam Harrison <adamdharrison@gmail.com>2022-12-31 15:20:22 -0500
commit1445c34bb2b97f3c7edce93c8ec3c0c0f8f80ca2 (patch)
treee4fe53ebed0b7cb59794114cd08b20d4f91a1002 /.github/workflows
parent92df608c0f248164d18e51819721876404d82934 (diff)
downloadlite-xl-plugin-manager-1445c34bb2b97f3c7edce93c8ec3c0c0f8f80ca2.tar.gz
lite-xl-plugin-manager-1445c34bb2b97f3c7edce93c8ec3c0c0f8f80ca2.zip
Updated spec to be clearer about post, and updated lpm to allow for no certificate verification.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yml24
1 files changed, 21 insertions, 3 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 809802b..b00a4e7 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -2,7 +2,7 @@ name: CI
on: { push: { branches: [master] } }
env: { VERSION: "0.1" }
jobs:
- build:
+ build-linux-windows:
runs-on: ubuntu-latest
defaults: { run: { shell: bash } }
steps:
@@ -40,5 +40,23 @@ jobs:
gh release delete -y v$RELEASE || true;
gh release create -t v$RELEASE v$RELEASE lpm.x86_64-linux lpm.x86_64-windows.exe
fi
-
-
+ build-macos:
+ needs: build-linux-windows
+ runs-on: macos-11
+ env:
+ CC: clang
+ steps:
+ - name: Checkout Code
+ uses: actions/checkout@v3
+ with:
+ fetch-depth: 0
+ - name: Clone Submodules
+ run: git submodule update --init --depth=1
+ - name: Build MacOS
+ run: |
+ SSL_CONFIGURE="no-tests" ./build.sh -DLPM_STATIC -DLPM_VERSION='"'$VERSION-x86_64-darwin-`git rev-parse --short HEAD`'"' && tar -czvf lpm-$VERSION-x86_64-darwin.tar.gz lpm
+ cp lpm lpm.x86_64-darwin
+ if [[ `git tag --points-at HEAD | head -c 4` == "v"* ]]; then
+ export RELEASE=`git tag --points-at HEAD | head -c 4 | sed 's/^v//'`
+ gh release upload v$RELEASE lpm.x86_64-darwin
+ fi