feat: Improve CI
Remove Linux builds, as Wwise doesn't run there anyways.
This commit is contained in:
parent
d624c9e28a
commit
71886dbb63
1 changed files with 1 additions and 20 deletions
|
@ -21,18 +21,6 @@ rust-nightly:debug:
|
|||
- cargo build --locked
|
||||
allow_failure: true
|
||||
|
||||
rust-latest:release:linux:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
artifacts:
|
||||
name: "binary:linux"
|
||||
paths:
|
||||
- target/release/wwise_fix
|
||||
expire_in: 1 week
|
||||
script:
|
||||
- cargo build --release --locked
|
||||
- strip target/release/wwise_fix
|
||||
|
||||
rust-latest:release:windows:
|
||||
stage: build
|
||||
image: rust:latest
|
||||
|
@ -50,19 +38,12 @@ rust-latest:release:windows:
|
|||
- cargo build --release --target x86_64-pc-windows-gnu --locked
|
||||
- strip target/x86_64-pc-windows-gnu/release/wwise_fix.exe
|
||||
|
||||
upload:binary:linux:
|
||||
stage: upload
|
||||
needs: ["rust-latest:release:linux"]
|
||||
script:
|
||||
- apt-get update && apt-get install -y --no-install-recommends git curl
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file target/release/wwise_fix "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/wwise_fix/$(git describe)/wwise_fix"'
|
||||
|
||||
upload:binary:windows:
|
||||
stage: upload
|
||||
needs: ["rust-latest:release:windows"]
|
||||
script:
|
||||
- apt-get update && apt-get install -y --no-install-recommends git curl
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file target/x86_64-pc-windows-gnu/release/wwise_fix.exe "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/wwise_fix/$(git describe)/wwise_fix.exe"'
|
||||
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file target/x86_64-pc-windows-gnu/release/wwise_fix.exe "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/wwise_fix/$(git describe || git rev-parse --short HEAD)/wwise_fix.exe"'
|
||||
|
||||
include:
|
||||
- template: Security/SAST.gitlab-ci.yml
|
||||
|
|
Loading…
Add table
Reference in a new issue