Fix Rust build and CI.

Add a test for ppc and fix ppc on windows.
This commit is contained in:
mio
2021-10-16 21:45:18 +02:00
parent f7bc485819
commit 6d0d0897f8
4 changed files with 119 additions and 51 deletions

View File

@ -15,7 +15,7 @@ on:
pull_request:
env:
UNICORN_VERSION: ${{ github.sha }}
CI: true
jobs:
build:
@ -28,7 +28,7 @@ jobs:
- {
os: windows-latest,
arch: x64,
name: 'Windows x84_64'
name: 'Windows x86_64'
}
- {
os: windows-latest,
@ -43,7 +43,7 @@ jobs:
- {
os: macos-latest,
arch: x64,
name: 'macos x86_64'
name: 'macOS x86_64'
}
steps:
- uses: actions/checkout@v2
@ -54,7 +54,18 @@ jobs:
toolchain: stable
override: true
default: true
componets: rustfmt, clippy
- name: '🛠️ Add msbuild to PATH'
if: contains(matrix.config.name, 'win')
uses: microsoft/setup-msbuild@v1.0.3
with:
vs-version: '16.5'
- name: '🛠️ Win build dependencies'
if: contains(matrix.config.name, 'win')
shell: bash
run: |
choco install ninja cmake
- name: '🚧 Cargo test'
run: |