-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
999bb08
commit 99a0d0b
Showing
5 changed files
with
122 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
# i hate yaml so much | ||
# semantic whitespace ass config format | ||
# "wrong syntax on line 42" REAL HELPFUL | ||
|
||
name: Release | ||
|
||
on: workflow_dispatch | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build-linux: | ||
name: Build (Linux) | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Install MUSL dependencies | ||
run: sudo apt-get install -y musl-tools | ||
- name: Install MUSL toolchain | ||
uses: actions-rs/toolchain@v1 | ||
with: | ||
toolchain: stable | ||
target: x86_64-unknown-linux-musl | ||
- name: Build | ||
run: cargo build --release --target x86_64-unknown-linux-musl | ||
- name: Upload binary | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: satpaper-x86_64-unknown-linux-musl | ||
path: target/x86_64-unknown-linux-musl/release/satpaper | ||
build-win: | ||
name: Build (Windows) | ||
runs-on: windows-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build | ||
run: cargo build --release | ||
- name: Upload binary | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: satpaper-x86_64-pc-windows-gnu.exe | ||
path: target/release/satpaper.exe | ||
build-mac: | ||
name: Build (macOS) | ||
runs-on: macos-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v3 | ||
- name: Build | ||
run: cargo build --release | ||
- name: Upload binary | ||
uses: actions/upload-artifact@v3 | ||
with: | ||
name: satpaper-x86_64-apple-darwin | ||
path: target/release/satpaper |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
name: Cargo Comprehensive | ||
|
||
on: | ||
push: | ||
branches: [ "master" ] | ||
pull_request: | ||
branches: [ "master" ] | ||
|
||
env: | ||
CARGO_TERM_COLOR: always | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Build | ||
run: cargo build | ||
- name: Run tests | ||
run: cargo test --release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters