Skip to content

Commit

Permalink
Update ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
psumbera authored Nov 13, 2024
1 parent cbb53c7 commit 87ae2e2
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: CI
on:
push:
branches: [ "master", "v0.7.x", "v0.8.x" ]
branches: [ "master", "v0.7.x", "v0.8.x", "solaris-ci" ]
pull_request:
branches: [ "master", "v0.7.x", "v0.8.x" ]
env:
Expand Down Expand Up @@ -94,6 +94,26 @@ jobs:
- uses: dtolnay/rust-toolchain@nightly
- name: Tests
run: cargo test --all-features
test-solaris:
name: test on solaris
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: test on Solaris
uses: vmactions/solaris-vm@v1
with:
usesh: true
mem: 4096
copyback: false
prepare: |
source <(curl -s https://raw.githubusercontent.com/psumbera/solaris-rust/refs/heads/main/sh.rust-web-install)
echo "~~~~ rustc --version ~~~~"
rustc --version
echo "~~~~ Solaris-version ~~~~"
uname -a
run: |
export PATH=$HOME/.rust_solaris/bin:$PATH
cargo test --all-features
Clippy:
runs-on: ubuntu-latest
timeout-minutes: 10
Expand Down

0 comments on commit 87ae2e2

Please sign in to comment.