Adjust build image tag
stable / fmt
Details
stable / fmt
Details
This commit is contained in:
parent
79ac68479e
commit
533a69b3c4
|
|
@ -8,39 +8,35 @@ on:
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
fmt:
|
fmt:
|
||||||
runs-on: dind
|
runs-on: rust
|
||||||
name: ubuntu / stable / fmt
|
name: stable / fmt
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- name: Install stable
|
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
|
||||||
with:
|
|
||||||
components: rustfmt
|
|
||||||
- name: cargo fmt --check
|
- name: cargo fmt --check
|
||||||
run: cargo fmt --check --all
|
run: cargo fmt --check --all
|
||||||
cross:
|
# cross:
|
||||||
runs-on: dind
|
# runs-on: dind
|
||||||
name: ubuntu / stable / cross-${{ matrix.target }}
|
# name: ubuntu / stable / cross-${{ matrix.target }}
|
||||||
strategy:
|
# strategy:
|
||||||
fail-fast: false
|
# fail-fast: false
|
||||||
matrix:
|
# matrix:
|
||||||
target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu"]
|
# target: ["armv7-unknown-linux-gnueabihf", "aarch64-unknown-linux-gnu"]
|
||||||
steps:
|
# steps:
|
||||||
- uses: actions/checkout@v3
|
# - uses: actions/checkout@v3
|
||||||
# - name: Install podman
|
# # - name: Install podman
|
||||||
# run: |
|
# # run: |
|
||||||
# apt update
|
# # apt update
|
||||||
# apt-get -y install podman
|
# # apt-get -y install podman
|
||||||
- name: Install stable
|
# - name: Install stable
|
||||||
uses: https://github.com/dtolnay/rust-toolchain@stable
|
# uses: https://github.com/dtolnay/rust-toolchain@stable
|
||||||
- uses: https://github.com/taiki-e/install-action@cross
|
# - uses: https://github.com/taiki-e/install-action@cross
|
||||||
- name: cross compile for ${{ matrix.target }}
|
# - name: cross compile for ${{ matrix.target }}
|
||||||
run: cross build --target ${{ matrix.target }} --release
|
# run: cross build --target ${{ matrix.target }} --release
|
||||||
- uses: actions/release-action@main
|
# - uses: actions/release-action@main
|
||||||
with:
|
# with:
|
||||||
files: |-
|
# files: |-
|
||||||
target/${{ matrix.target }}/release/crabidy-server
|
# target/${{ matrix.target }}/release/crabidy-server
|
||||||
api_key: '${{secrets.RELEASE_TOKEN}}'
|
# api_key: '${{secrets.RELEASE_TOKEN}}'
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue