aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2020-07-14 10:39:05 +0100
committerGitHub <[email protected]>2020-07-14 10:39:05 +0100
commit510866b4a1a812414568bd96f1d197587ead78c0 (patch)
treee1adff72a8d90a0ad26be0bb847d9eba56e7a9b3
parent0f8af1b8246a31b1df60d3c60680954aefc9ab27 (diff)
parent9c1f3aad620fb4a9e989bebf43fd308fec73224e (diff)
Merge pull request #5361 from matklad/power
Check power on CI
-rw-r--r--.github/workflows/ci.yaml36
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