Skip to content

Commit

Permalink
Speculative changes to github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
DeCarabas committed Aug 10, 2024
1 parent a9bbd29 commit 9ad55c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Build
run: cargo build --verbose
Expand Down
11 changes: 2 additions & 9 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,41 +46,34 @@ jobs:
TARGET_DIR: ./target
# Emit backtraces on panics.
RUST_BACKTRACE: 1
# Build static releases with PCRE2.
PCRE2_SYS_STATIC: 1

strategy:
matrix:
build: ['linux', 'macos', 'arm-macos', 'windows']
include:
- build: linux
os: ubuntu-22.04
rust: nightly
target: x86_64-unknown-linux-musl

- build: macos
os: macos-12
rust: nightly
target: x86_64-apple-darwin

- build: arm-macos
os: macos-12
rust: nightly
target: aarch64-apple-darwin

- build: windows
os: windows-2022
rust: nightly
target: x86_64-pc-windows-msvc

steps:
- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Install Rust
uses: dtolnay/rust-toolchain@master
uses: dtolnay/rust-toolchain@stable
with:
toolchain: ${{ matrix.rust }}
target: ${{ matrix.target }}

- name: Use Cross
Expand Down

0 comments on commit 9ad55c9

Please sign in to comment.