diff options
author | Laurențiu Nicola <[email protected]> | 2021-01-17 14:23:38 +0000 |
---|---|---|
committer | Laurențiu Nicola <[email protected]> | 2021-01-17 14:31:38 +0000 |
commit | 884f758f7b475f2e7e49d113877d423dac6e5e78 (patch) | |
tree | 6c3d7439df453d17e2c3d5c55d552073adaf730d /.github/workflows | |
parent | cd532e615abdac766ce9110e02e197f674fce375 (diff) |
Build dist-aarch64-unknown-linux-gnu releases
Diffstat (limited to '.github/workflows')
-rw-r--r-- | .github/workflows/release.yaml | 37 |
1 files changed, 36 insertions, 1 deletions
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index ece1fd364..a97ed24ba 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml | |||
@@ -118,6 +118,37 @@ jobs: | |||
118 | name: dist-x86_64-unknown-linux-gnu | 118 | name: dist-x86_64-unknown-linux-gnu |
119 | path: ./dist | 119 | path: ./dist |
120 | 120 | ||
121 | dist-aarch64-unknown-linux-gnu: | ||
122 | name: dist (aarch64-unknown-linux-gnu) | ||
123 | runs-on: ubuntu-16.04 | ||
124 | env: | ||
125 | RA_TARGET: aarch64-unknown-linux-gnu | ||
126 | CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER: aarch64-linux-gnu-gcc | ||
127 | |||
128 | steps: | ||
129 | - name: Checkout repository | ||
130 | uses: actions/checkout@v2 | ||
131 | |||
132 | - name: Install Rust toolchain | ||
133 | uses: actions-rs/toolchain@v1 | ||
134 | with: | ||
135 | toolchain: stable | ||
136 | target: aarch64-unknown-linux-gnu | ||
137 | profile: minimal | ||
138 | override: true | ||
139 | |||
140 | - name: Install target toolchain | ||
141 | run: sudo apt-get install gcc-aarch64-linux-gnu | ||
142 | |||
143 | - name: Dist | ||
144 | run: cargo xtask dist | ||
145 | |||
146 | - name: Upload artifacts | ||
147 | uses: actions/upload-artifact@v1 | ||
148 | with: | ||
149 | name: dist-aarch64-unknown-linux-gnu | ||
150 | path: ./dist | ||
151 | |||
121 | dist-x86_64-apple-darwin: | 152 | dist-x86_64-apple-darwin: |
122 | name: dist (x86_64-apple-darwin) | 153 | name: dist (x86_64-apple-darwin) |
123 | runs-on: macos-latest | 154 | runs-on: macos-latest |
@@ -174,7 +205,7 @@ jobs: | |||
174 | publish: | 205 | publish: |
175 | name: publish | 206 | name: publish |
176 | runs-on: ubuntu-16.04 | 207 | runs-on: ubuntu-16.04 |
177 | needs: ['dist-x86_64-pc-windows-msvc', 'dist-aarch64-pc-windows-msvc', 'dist-x86_64-unknown-linux-gnu', 'dist-x86_64-apple-darwin', 'dist-aarch64-apple-darwin'] | 208 | needs: ['dist-x86_64-pc-windows-msvc', 'dist-aarch64-pc-windows-msvc', 'dist-x86_64-unknown-linux-gnu', 'dist-aarch64-unknown-linux-gnu', 'dist-x86_64-apple-darwin', 'dist-aarch64-apple-darwin'] |
178 | steps: | 209 | steps: |
179 | - name: Install Nodejs | 210 | - name: Install Nodejs |
180 | uses: actions/setup-node@v1 | 211 | uses: actions/setup-node@v1 |
@@ -207,6 +238,10 @@ jobs: | |||
207 | path: dist | 238 | path: dist |
208 | - uses: actions/download-artifact@v1 | 239 | - uses: actions/download-artifact@v1 |
209 | with: | 240 | with: |
241 | name: dist-aarch64-unknown-linux-gnu | ||
242 | path: dist | ||
243 | - uses: actions/download-artifact@v1 | ||
244 | with: | ||
210 | name: dist-x86_64-pc-windows-msvc | 245 | name: dist-x86_64-pc-windows-msvc |
211 | path: dist | 246 | path: dist |
212 | - uses: actions/download-artifact@v1 | 247 | - uses: actions/download-artifact@v1 |