Skip to content

Commit

Permalink
ci correct darwin build type
Browse files Browse the repository at this point in the history
  • Loading branch information
iamtakingiteasy committed May 14, 2022
1 parent 582063c commit 76603fb
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build:
for GOOS in linux windows darwin; do
SUFFIX=$([ $GOOS = "windows" ] && echo ".exe" || true)
for GOARCH in amd64 386; do
[ $GOOS = "darwin" ] && [ $GOARCH = "amd64" ] && continue || true;
[ $GOOS = "darwin" ] && [ $GOARCH = "386" ] && continue || true;
for BIN in jaroid jaroidfedi; do
GOOS=$GOOS GOARCh=$GOARCH go build -o ${BIN}-${CI_COMMIT_TAG}-${GOOS}-${GOARCH}${SUFFIX} ./cmd/$BIN &
done
Expand All @@ -47,7 +47,6 @@ build:
url: "https://gitlab.eientei.org/eientei/jaroid/-/jobs/${CI_JOB_ID}/artifacts/file/jaroid-${CI_COMMIT_TAG}-linux-amd64"
- name: "jaroidfedi-${CI_COMMIT_TAG}-linux-amd64"
url: "https://gitlab.eientei.org/eientei/jaroid/-/jobs/${CI_JOB_ID}/artifacts/file/jaroidfedi-${CI_COMMIT_TAG}-linux-amd64"

- name: "jaroid-${CI_COMMIT_TAG}-windows-386.exe"
url: "https://gitlab.eientei.org/eientei/jaroid/-/jobs/${CI_JOB_ID}/artifacts/file/jaroid-${CI_COMMIT_TAG}-windows-386.exe"
- name: "jaroidfedi-${CI_COMMIT_TAG}-windows-386.exe"
Expand All @@ -56,7 +55,6 @@ build:
url: "https://gitlab.eientei.org/eientei/jaroid/-/jobs/${CI_JOB_ID}/artifacts/file/jaroid-${CI_COMMIT_TAG}-windows-amd64.exe"
- name: "jaroidfedi-${CI_COMMIT_TAG}-windows-amd64.exe"
url: "https://gitlab.eientei.org/eientei/jaroid/-/jobs/${CI_JOB_ID}/artifacts/file/jaroidfedi-${CI_COMMIT_TAG}-windows-amd64.exe"

- name: "jaroid-${CI_COMMIT_TAG}-darwin-amd64"
url: "https://gitlab.eientei.org/eientei/jaroid/-/jobs/${CI_JOB_ID}/artifacts/file/jaroid-${CI_COMMIT_TAG}-darwin-amd64"
- name: "jaroidfedi-${CI_COMMIT_TAG}-darwin-amd64"
Expand Down

0 comments on commit 76603fb

Please sign in to comment.