This repository was archived by the owner on Aug 30, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 18
Build linux/windows on ubuntu runner #202
Merged
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
9411d80
Use Makefile for builds and use ubuntu runner
cmoog b1543a7
fixup! Use Makefile for builds and use ubuntu runner
cmoog b6d6bfa
fixup! Use Makefile for builds and use ubuntu runner
cmoog f1ecccf
fixup! Use Makefile for builds and use ubuntu runner
cmoog f93cb39
fixup! Use Makefile for builds and use ubuntu runner
cmoog 5fd2992
Patches integration tests with Makefile
cmoog 5a661b2
fixup! Patches integration tests with Makefile
cmoog ccc29fa
fixup! Patches integration tests with Makefile
cmoog File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Makefile for Coder CLI | ||
|
||
.PHONY: clean build build/macos build/windows build/linux | ||
|
||
clean: | ||
rm -rf ./ci/bin | ||
|
||
build: build/macos build/windows build/linux | ||
|
||
build/macos: | ||
# requires darwin | ||
CGO_ENABLED=1 GOOS=darwin GOARCH=amd64 ./ci/steps/build.sh | ||
build/windows: | ||
CGO_ENABLED=0 GOOS=windows GOARCH=386 ./ci/steps/build.sh | ||
build/linux: | ||
CGO_ENABLED=0 GOOS=linux GOARCH=amd64 ./ci/steps/build.sh |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
FROM ubuntu:20.04 | ||
|
||
RUN apt-get update && apt-get install -y jq curl | ||
RUN apt-get update && apt-get install -y jq curl build-essential |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Would be good if we got rid of this script entirely in favour of it being inlined in the makefile