Compare commits
No commits in common. "de1bd6400704215a22dbf4381adf19547beb8e0d" and "ff98a4a5116c39edff61fc6c9a6e390935dce7b1" have entirely different histories.
de1bd64007
...
ff98a4a511
2 changed files with 5 additions and 13 deletions
|
@ -26,7 +26,7 @@ resources:
|
|||
source:
|
||||
access_token: ((gitea_api_key))
|
||||
url: http://forgejo:3000
|
||||
owner: bitsquid_dt
|
||||
owner: concourse
|
||||
type: generic
|
||||
name: dtmt
|
||||
|
||||
|
@ -155,7 +155,6 @@ jobs:
|
|||
- artifact/dtmt
|
||||
- artifact/dtmm
|
||||
- artifact/*.exe
|
||||
- artifact/*.sha256
|
||||
|
||||
- name: build-linux
|
||||
on_success:
|
||||
|
@ -213,5 +212,3 @@ jobs:
|
|||
- artifact/dtmt
|
||||
- artifact/dtmm
|
||||
- artifact/*.exe
|
||||
- artifact/*.sha256
|
||||
|
||||
|
|
|
@ -12,11 +12,6 @@ title() {
|
|||
printf "\033[1m%s\033[0m\n" "$1"
|
||||
}
|
||||
|
||||
install_artifact() {
|
||||
install -v -t "$OUTPUT/" "$1"
|
||||
sha256sum "$1" | cut -d' ' -f1 > "$OUTPUT/$(basename "$1").sha256"
|
||||
}
|
||||
|
||||
cd "repo"
|
||||
|
||||
if [ -n "${PR:-}" ]; then
|
||||
|
@ -37,8 +32,8 @@ case "$TARGET" in
|
|||
cargo build --color always --locked --release --target x86_64-pc-windows-msvc -Zbuild-std
|
||||
|
||||
title "Install artifacts"
|
||||
install_artifact target/x86_64-pc-windows-msvc/release/dtmt.exe
|
||||
install_artifact target/x86_64-pc-windows-msvc/release/dtmm.exe
|
||||
install -v -t "$OUTPUT/" target/x86_64-pc-windows-msvc/release/dtmt.exe
|
||||
install -v -t "$OUTPUT/" target/x86_64-pc-windows-msvc/release/dtmm.exe
|
||||
;;
|
||||
linux)
|
||||
cp /src/*.a ./lib/oodle/
|
||||
|
@ -47,8 +42,8 @@ case "$TARGET" in
|
|||
cargo build --color always --locked --profile release-lto
|
||||
|
||||
title "Installing artifacts"
|
||||
install_artifact target/release-lto/dtmt
|
||||
install_artifact target/release-lto/dtmm
|
||||
install -v -t "$OUTPUT/" target/release-lto/dtmt
|
||||
install -v -t "$OUTPUT/" target/release-lto/dtmm
|
||||
;;
|
||||
*)
|
||||
echo -e "\033[31;1mEnv var 'TARGET' must either be 'msvc' or 'linux'. Got '$TARGET'.\033[0m" >&2
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue