Skip to content

Commit

Permalink
ci
Browse files Browse the repository at this point in the history
  • Loading branch information
ahaoboy committed Sep 16, 2024
1 parent 83ea7e4 commit cec0ad0
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,35 @@ permissions:

on: [push]

env:
CARGO_TERM_COLOR: always

jobs:
test:
rust-test:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
- name: Install latest nightly
uses: actions-rs/toolchain@v1
with:
toolchain: nightly
override: true
- name: Run
run: |
cargo install neofetch
neofetch | cargo run --features="build-binary" > ./neofetch.svg
- name: Upload
uses: actions/upload-artifact@v4
with:
name: ${{ matrix.os }}
path: ./*.svg

npm-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit cec0ad0

Please sign in to comment.