mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-03-01 18:23:21 +01:00
40 lines
825 B
YAML
40 lines
825 B
YAML
name: Feature Building
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- '*'
|
|
pull_request:
|
|
branches:
|
|
- '*'
|
|
|
|
jobs:
|
|
build:
|
|
|
|
runs-on: macos-latest
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
|
uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
|
|
- name: Build
|
|
run: |
|
|
brew install automake
|
|
brew install autoconf
|
|
brew install libtool
|
|
make VERSION="${GITHUB_SHA::7}" debug
|
|
make debug-dmg
|
|
shasum -a 256 build/Debug/ShadowsocksX-NG.dmg > build/Debug/ShadowsocksX-NG.dmg.checksum
|
|
|
|
- name: Upload artifacts
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: ShadowsocksX-NG
|
|
path: |
|
|
build/Debug/ShadowsocksX-NG.dmg
|
|
build/Debug/ShadowsocksX-NG.dmg.checksum
|