More operating systems, more architectures

This commit is contained in:
Xithrius 2022-04-02 15:00:04 -07:00
parent ed4bf9fd35
commit e3d03b4ba9
No known key found for this signature in database
GPG Key ID: BD0FC909FA912B62

View File

@ -14,25 +14,39 @@ jobs:
fail-fast: false
matrix:
os:
- { prettyname: Windows, fullname: windows-latest }
- { prettyname: macOS, fullname: macos-latest }
- { prettyname: Linux, fullname: ubuntu-latest }
include:
- os: windows-latest
target: x86_64-pc-windows-msvc
threadingMode: [ 'MultiThreaded' ]
- os: windows-latest
target: aarch64-pc-windows-msvc
timeout-minutes: 60
- os: ubuntu-latest
target: x86_64-unknown-linux-gnu
runs-on: ${{matrix.os.fullname}}
- os: ubuntu-latest
target: aarch64-unknown-linux-gnu
- os: macos-latest
target: x86_64-apple-darwin
- os: macos-latest
target: aarch64-apple-darwin
name: Build & Test (${{ matrix.target }})
runs-on: ${{ matrix.os }}
env:
RA_TARGET: ${{ matrix.target }}
steps:
- uses: actions/checkout@v2
- name: Build
run: cargo build --verbose
run: cargo build --verbose --target ${{ matrix.target }}
- name: Run tests
run: cargo test --verbose
run: cargo test --verbose --target ${{ matrix.target }}
lint:
name: Formatter