Switch the compile action for a new one.
Rust Build / building - ${{ matrix.platform.release_for }} (Linux - X86_64, x86_64-unknown-linux-musl) (push) Waiting to run
Details
Rust Build / building - ${{ matrix.platform.release_for }} (Linux - X86_64, x86_64-unknown-linux-musl) (push) Waiting to run
Details
This commit is contained in:
parent
bdf6e57f42
commit
8a9c515916
|
@ -7,23 +7,29 @@ on:
|
|||
|
||||
jobs:
|
||||
push:
|
||||
name: building
|
||||
name: building - ${{ matrix.platform.release_for }}
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
include:
|
||||
- target: x86_64-pc-windows-gnu
|
||||
archive: zip
|
||||
- target: x86_64-unknown-linux-musl
|
||||
archive: tar.gz tar.xz tar.zst
|
||||
- target: x86_64-apple-darwin
|
||||
archive: zip
|
||||
# - release_for: Windows - X86_64
|
||||
# target: x86_64-pc-windows-gnu
|
||||
- release_for: Linux - X86_64
|
||||
target: x86_64-unknown-linux-musl
|
||||
# - release_for: FreeBSD - x86_64
|
||||
# target: x86_64-unknown-freebsd
|
||||
# - release_for: Mac - X86_64
|
||||
# target: x86_64-apple-darwin
|
||||
# - release_for: Mac - ARM
|
||||
# target: aarch64-apple-darwin
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- name: Compile
|
||||
id: compile
|
||||
uses: rust-build/rust-build.action@v1.4.5
|
||||
uses: houseabsolute/actions-rust-cross@v0
|
||||
with:
|
||||
RUSTTARGET: ${{ matrix.target }}
|
||||
UPLOAD_MODE: none
|
||||
command: build
|
||||
target: ${{ matrix.platform.target }}
|
||||
args: "--locked --release"
|
||||
strip: true
|
||||
|
|
|
@ -144,6 +144,7 @@ type ConfigDirectories = Vec<String>;
|
|||
|
||||
#[derive(Debug, Clone)]
|
||||
pub struct Config {
|
||||
#[allow(dead_code)]
|
||||
pub(crate) name: String,
|
||||
pub(crate) tasks: ConfigTasks,
|
||||
pub(crate) file_path: PathBuf,
|
||||
|
|
Loading…
Reference in New Issue