-
Notifications
You must be signed in to change notification settings - Fork 4
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
Dustin Blackman
committed
Nov 30, 2023
1 parent
6550717
commit 442e59f
Showing
7 changed files
with
103 additions
and
25 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
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,96 @@ | ||
on: workflow_dispatch | ||
name: build | ||
jobs: | ||
linux-amd: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
target: x86_64-unknown-linux-gnu | ||
- name: Build | ||
run: cargo build --release --target x86_64-unknown-linux-gnu | ||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: x86_64-unknown-linux-gnu | ||
path: target/x86_64-unknown-linux-gnu/release/languagetool-code-comments | ||
|
||
linux-arm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: goto-bus-stop/setup-zig@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
target: aarch64-unknown-linux-gnu | ||
- name: Build | ||
run: | | ||
sudo apt-get install gcc-aarch64-linux-gnu | ||
cargo install cargo-zigbuild | ||
rustup target add aarch64-unknown-linux-gnu | ||
cargo zigbuild --release --target aarch64-unknown-linux-gnu | ||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: aarch64-unknown-linux-gnu | ||
path: target/aarch64-unknown-linux-gnu/release/languagetool-code-comments | ||
|
||
macos-amd: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
target: x86_64-apple-darwin | ||
toolchain: stable | ||
- name: Build | ||
run: cargo build --release --target x86_64-apple-darwin | ||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: x86_64-apple-darwin | ||
path: target/x86_64-apple-darwin/release/languagetool-code-comments | ||
|
||
macos-arm: | ||
runs-on: macos-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: goto-bus-stop/setup-zig@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
target: aarch64-apple-darwin | ||
- name: Build | ||
run: | | ||
cargo install cargo-zigbuild | ||
rustup target add aarch64-apple-darwin | ||
cargo zigbuild --release --target aarch64-apple-darwin | ||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: aarch64-apple-darwin | ||
path: target/aarch64-apple-darwin/release/languagetool-code-comments | ||
|
||
windows-amd: | ||
runs-on: windows-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions-rs/toolchain@v1 | ||
with: | ||
profile: minimal | ||
toolchain: stable | ||
target: x86_64-pc-windows-msvc | ||
- name: Build | ||
run: cargo build --release --target x86_64-pc-windows-msvc | ||
- name: Upload | ||
uses: actions/upload-artifact@v2 | ||
with: | ||
name: x86_64-pc-windows-msvc | ||
path: target/x86_64-pc-windows-msvc/release/languagetool-code-comments.exe |
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 |
---|---|---|
@@ -1,6 +1,7 @@ | ||
.bin/ | ||
.gha/ | ||
dist/ | ||
dist-gh/ | ||
/target | ||
test.ts | ||
completions | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,3 @@ | ||
[toolchain] | ||
channel = "1.74.0" | ||
components = ["rustfmt", "clippy", "llvm-tools-preview"] | ||
targets = ["x86_64-apple-darwin", "aarch64-apple-darwin", "x86_64-unknown-linux-gnu", "aarch64-unknown-linux-gnu", "x86_64-pc-windows-gnu"] |
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 was deleted.
Oops, something went wrong.