Skip to content

Commit

Permalink
chore: Lock zig version
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin Blackman committed Nov 30, 2023
1 parent e40bc00 commit e118193
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -34,8 +36,8 @@ jobs:
run: |
git submodule update --init --recursive
sudo apt-get install gcc-aarch64-linux-gnu
cargo install cargo-zigbuild
rustup target add aarch64-unknown-linux-gnu
cargo install cargo-zigbuild --version 0.18.0
cargo zigbuild --release --target aarch64-unknown-linux-gnu
- name: Upload
uses: actions/upload-artifact@v2
Expand Down Expand Up @@ -67,6 +69,8 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: goto-bus-stop/setup-zig@v2
with:
version: 0.11.0
- uses: actions-rs/toolchain@v1
with:
profile: minimal
Expand All @@ -75,7 +79,7 @@ jobs:
- name: Build
run: |
git submodule update --init --recursive
cargo install cargo-zigbuild
cargo install cargo-zigbuild --version 0.18.0
rustup target add aarch64-apple-darwin
cargo zigbuild --release --target aarch64-apple-darwin
- name: Upload
Expand All @@ -85,7 +89,7 @@ jobs:
path: target/aarch64-apple-darwin/release/languagetool-code-comments

windows-amd:
runs-on: windows-latest
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions-rs/toolchain@v1
Expand All @@ -96,7 +100,8 @@ jobs:
- name: Build
run: |
git submodule update --init --recursive
cargo build --release --target x86_64-pc-windows-msvc
cargo install cargo-xwin --version 0.16.0
cargo xwin build --release --target x86_64-pc-windows-msvc --xwin-arch x86_6
- name: Upload
uses: actions/upload-artifact@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[toolchain]
channel = "1.73.0"
channel = "1.74.0"
components = ["rustfmt", "clippy", "llvm-tools-preview"]

0 comments on commit e118193

Please sign in to comment.