Skip to content

Commit

Permalink
Add toolchain file
Browse files Browse the repository at this point in the history
  • Loading branch information
rcorre committed Nov 21, 2024
1 parent a865553 commit d2d99cc
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 1 deletion.
30 changes: 29 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
tags: [ '[0-9]+.[0-9]+*' ]

jobs:
build:
linux:
runs-on: ubuntu-latest
steps:
- name: Checkout sources
Expand All @@ -19,6 +19,34 @@ jobs:
name: linux
path: target/release/pbls

windows:
runs-on: windows-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Build release binary
run: cargo build --release --locked

- uses: actions/upload-artifact@v4
with:
name: windows
path: target/release/pbls

mac:
runs-on: macos-latest
steps:
- name: Checkout sources
uses: actions/checkout@v4

- name: Build release binary
run: cargo build --release --locked

- uses: actions/upload-artifact@v4
with:
name: macos
path: target/release/pbls

# publish:
# name: Publish
# needs: [build]
Expand Down
4 changes: 4 additions & 0 deletions rust-toolchain.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[toolchain]
channel = "stable"
components = ["rustfmt", "rust-src", "clippy"]

0 comments on commit d2d99cc

Please sign in to comment.