mirror of
https://github.com/shadowsocks/ShadowsocksX-NG.git
synced 2026-11-23 22:36:55 +00:00
chore: restructure repo for modern reimplementation
- Remove GitHub Actions workflows and issue templates - Move legacy ShadowsocksX-NG project into Legacy/ - Remove git submodules; dependencies will use prebuilt binaries copied from upstream releases instead of building in-repo - Add ShadowsocksX-NG2/ directory for the new project - Update .gitignore paths for the new layout
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
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
|
||||
@@ -1,44 +0,0 @@
|
||||
name: Release Building
|
||||
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- '*'
|
||||
|
||||
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_REF_NAME}" release
|
||||
make release-dmg
|
||||
shasum -a 256 build/Release/ShadowsocksX-NG.dmg > build/Release/ShadowsocksX-NG.dmg.checksum
|
||||
|
||||
- name: Upload artifacts
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: ShadowsocksX-NG
|
||||
path: |
|
||||
build/Release/ShadowsocksX-NG.dmg
|
||||
build/Release/ShadowsocksX-NG.dmg.checksum
|
||||
|
||||
- name: Release
|
||||
uses: softprops/action-gh-release@v1
|
||||
with:
|
||||
generate_release_notes: true
|
||||
files: |
|
||||
build/Release/ShadowsocksX-NG.dmg
|
||||
build/Release/ShadowsocksX-NG.dmg.checksum
|
||||
Reference in New Issue
Block a user