diff options
Diffstat (limited to '.github/workflows/ci.yaml')
-rw-r--r-- | .github/workflows/ci.yaml | 36 |
1 files changed, 35 insertions, 1 deletions
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 3adf9e6ca..a5a4b3ccd 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml | |||
@@ -95,6 +95,40 @@ jobs: | |||
95 | if: matrix.os == 'windows-latest' | 95 | if: matrix.os == 'windows-latest' |
96 | run: Remove-Item ./target/debug/xtask.exe, ./target/debug/deps/xtask.exe | 96 | run: Remove-Item ./target/debug/xtask.exe, ./target/debug/deps/xtask.exe |
97 | 97 | ||
98 | # Weird target to catch non-portable code | ||
99 | rust-power: | ||
100 | name: Rust Power | ||
101 | runs-on: ubuntu-latest | ||
102 | |||
103 | steps: | ||
104 | - name: Checkout repository | ||
105 | uses: actions/checkout@v2 | ||
106 | |||
107 | - name: Install Rust toolchain | ||
108 | uses: actions-rs/toolchain@v1 | ||
109 | with: | ||
110 | toolchain: stable | ||
111 | profile: minimal | ||
112 | override: true | ||
113 | target: 'powerpc-unknown-linux-gnu' | ||
114 | |||
115 | - run: sudo chown -R $(whoami):$(id -ng) ~/.cargo/ | ||
116 | |||
117 | - name: Cache cargo registry | ||
118 | uses: actions/cache@v1 | ||
119 | with: | ||
120 | path: ~/.cargo/registry | ||
121 | key: ${{ runner.os }}-cargo-registry-${{ hashFiles('**/Cargo.lock') }} | ||
122 | |||
123 | - name: Cache cargo index | ||
124 | uses: actions/cache@v1 | ||
125 | with: | ||
126 | path: ~/.cargo/git | ||
127 | key: ${{ runner.os }}-cargo-index-${{ hashFiles('**/Cargo.lock') }} | ||
128 | |||
129 | - name: Check | ||
130 | run: cargo check --target=powerpc-unknown-linux-gnu --all-targets | ||
131 | |||
98 | typescript: | 132 | typescript: |
99 | name: TypeScript | 133 | name: TypeScript |
100 | strategy: | 134 | strategy: |
@@ -103,7 +137,7 @@ jobs: | |||
103 | os: [ubuntu-latest, windows-latest, macos-latest] | 137 | os: [ubuntu-latest, windows-latest, macos-latest] |
104 | 138 | ||
105 | runs-on: ${{ matrix.os }} | 139 | runs-on: ${{ matrix.os }} |
106 | 140 | ||
107 | steps: | 141 | steps: |
108 | - name: Checkout repository | 142 | - name: Checkout repository |
109 | uses: actions/checkout@v2 | 143 | uses: actions/checkout@v2 |