Skip to content

Commit

Permalink
refactor: migrate to an actively maintained fork of rust-tun (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
M0dEx authored Jan 31, 2024
1 parent 813dc17 commit 3c990be
Show file tree
Hide file tree
Showing 13 changed files with 136 additions and 199 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,35 @@ jobs:
files: |
quincy-linux-x86_64.tar.gz
build-macos-binaries:
name: Build arm64 macOS binaries

runs-on: macos-13

permissions:
contents: write

steps:
- uses: actions/checkout@v4
name: Checkout repository
- uses: dtolnay/rust-toolchain@nightly
name: Set up toolchain
- uses: Swatinem/rust-cache@v2
name: Cache toolchain and dependencies
- name: Build arm64 macOS binaries
run: |
cargo build --release
mkdir ./quincy-macos-arm64
cp target/release/quincy-client quincy-macos-arm64/
cp target/release/quincy-server quincy-macos-arm64/
cp target/release/quincy-users quincy-macos-arm64/
tar zcf quincy-macos-arm64.tar.gz -C quincy-macos-arm64 .
- uses: softprops/action-gh-release@v1
name: Add binary to release
with:
files: |
quincy-macos-arm64.tar.gz
build-windows-binaries:
name: Build x86_64 Windows binaries

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/rust.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
os: [ubuntu-latest, windows-latest]
os: [ubuntu-latest, windows-latest, macos-13]

runs-on: ${{ matrix.os }}
steps:
Expand Down
Loading

0 comments on commit 3c990be

Please sign in to comment.