mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-25 07:14:03 +00:00
fixes cross-compilation and CI
This commit is contained in:
@@ -8,7 +8,24 @@ jobs:
|
||||
runs-on: macos-10.15
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- name: Run unit test
|
||||
run: |
|
||||
set -o pipefail && xcodebuild test -workspace ShadowsocksX-NG.xcworkspace -scheme ShadowsocksX-NG|xcpretty
|
||||
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
with:
|
||||
submodules: recursive
|
||||
fetch-depth: 0
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
brew install automake
|
||||
make 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
|
||||
|
||||
Reference in New Issue
Block a user