fmt
This commit is contained in:
parent
d1cd496a6d
commit
db71d66600
5 changed files with 48 additions and 46 deletions
11
.github/workflows/buildci.yml
vendored
11
.github/workflows/buildci.yml
vendored
|
|
@ -14,24 +14,23 @@ jobs:
|
|||
|
||||
- name: Clippy
|
||||
run: cargo clippy -- -Dwarnings
|
||||
|
||||
|
||||
|
||||
build:
|
||||
needs: pre-build-checks
|
||||
strategy:
|
||||
matrix:
|
||||
matrix:
|
||||
arch: [amd64, arm64]
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout project
|
||||
uses: actions/checkout@v2
|
||||
|
||||
|
||||
- name: Setup cross compiling
|
||||
run: |
|
||||
source ./.github/buildci.sh
|
||||
setup_cross_compiling ${{ matrix.arch }}
|
||||
|
||||
- name: Build
|
||||
|
||||
- name: Build
|
||||
run: |
|
||||
[ $GITHUB_REF_TYPE = "branch" ] && \
|
||||
export __REF=${GITHUB_SHA::7} || \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue