-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add macOS/Linux files to release & make background color tunable (#115)
- Loading branch information
Showing
6 changed files
with
84 additions
and
35 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -29,11 +29,27 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- run: DOCKER_BUILDKIT=1 docker build -o=./bin/ --target=voidstar . --progress=plain | ||
- run: ./bin/voidstar --help | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: voidstar_gcc_ubuntu | ||
path: ./bin/voidstar | ||
- uses: Wandalen/[email protected] | ||
with: | ||
command: DOCKER_BUILDKIT=1 docker build -o=. --target=video-gcc . --progress=plain | ||
attempt_limit: 20 | ||
attempt_delay: 1000 | ||
- run: mv ./bin/voidstar voidstar_gcc_ubuntu | ||
- run: mv ./video.webm voidstar_gcc_ubuntu.webm | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: video-gcc_ubuntu | ||
path: ./voidstar_gcc_ubuntu.webm | ||
- uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
voidstar_gcc_ubuntu | ||
voidstar_gcc_ubuntu.webm | ||
build_on_ubuntu_with_clang: | ||
name: Build on ubuntu with Clang | ||
|
@@ -46,11 +62,27 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- run: DOCKER_BUILDKIT=1 docker build -o=./bin/ --target=voidstar-clang . --progress=plain | ||
- run: ./bin/voidstar --help | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: voidstar_clang_ubuntu | ||
path: ./bin/voidstar | ||
- uses: Wandalen/[email protected] | ||
with: | ||
command: DOCKER_BUILDKIT=1 docker build -o=. --target=video-clang . --progress=plain | ||
attempt_limit: 20 | ||
attempt_delay: 1000 | ||
- run: mv ./bin/voidstar voidstar_clang_ubuntu | ||
- run: mv ./video.webm voidstar_clang_ubuntu.webm | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: video-clang_ubuntu | ||
path: ./voidstar_clang_ubuntu.webm | ||
- uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: | | ||
voidstar_clang_ubuntu | ||
voidstar_clang_ubuntu.webm | ||
build_on_macos: | ||
name: Build on macos | ||
|
@@ -62,6 +94,14 @@ jobs: | |
- uses: actions/checkout@v2 | ||
- run: bazelisk build voidstar | ||
- run: ./bazel-bin/voidstar/voidstar --help | ||
- uses: actions/upload-artifact@v2 | ||
with: | ||
name: voidstar_macos-latest | ||
path: ./bazel-bin/voidstar/voidstar | ||
- uses: softprops/action-gh-release@v1 | ||
if: startsWith(github.ref, 'refs/tags/') | ||
with: | ||
files: ./bazel-bin/voidstar/voidstar | ||
|
||
# build_on_windows: FIXME | ||
# name: Build on windows | ||
|
This file contains 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 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 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 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 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