Commit 6c690d88 authored by Nawasan Wisitsingkhon's avatar Nawasan Wisitsingkhon

CI: change using github action

parent 834f981b
...@@ -22,16 +22,16 @@ jobs: ...@@ -22,16 +22,16 @@ jobs:
target: armv7 target: armv7
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: setup - name: setup
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable toolchain: stable
- name: Build - name: Build
run: cargo build --release run: cargo build --release
- name: Run tests - name: Run tests
run: cargo test run: cargo test --all-features
windows: windows:
runs-on: ${{ matrix.platform.runner }} runs-on: ${{ matrix.platform.runner }}
...@@ -44,24 +44,24 @@ jobs: ...@@ -44,24 +44,24 @@ jobs:
target: x86 target: x86
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: setup - name: setup
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable toolchain: stable
- name: Build - name: Build
run: cargo build --release run: cargo build --release
- name: Run tests - name: Run tests
run: cargo test run: cargo test --all-features
release: release:
runs-on: ubuntu-latest runs-on: ubuntu-latest
needs: [linux, windows] needs: [linux, windows]
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Setup - name: Setup
uses: actions-rs/toolchain@v1 uses: dtolnay/rust-toolchain@stable
with: with:
toolchain: stable toolchain: stable
- name: Build - name: Build
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment