diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b0d12a8..a3bb5e8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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